Skip to content
Permalink
Browse files
Merge pull request #8442 from JosJuice/data-partition-missing
VolumeVerifier: Fix "The data partition is missing" false positive
  • Loading branch information
lioncash committed Oct 30, 2019
2 parents a52b875 + e2ef248 commit 4f5badb
Showing 1 changed file with 1 addition and 1 deletion.
@@ -419,7 +419,7 @@ void VolumeVerifier::CheckPartitions()
AddProblem(Severity::Low, Common::GetStringT("The update partition is missing."));

const bool has_data_partition =
std::find(types.cbegin(), types.cend(), PARTITION_DATA) == types.cend();
std::find(types.cbegin(), types.cend(), PARTITION_DATA) != types.cend();
if (!m_is_datel && !has_data_partition)
AddProblem(Severity::High, Common::GetStringT("The data partition is missing."));

0 comments on commit 4f5badb

Please sign in to comment.