Fixed spurious error message in FixParts.

This commit is contained in:
Roderick W. Smith
2014-02-17 12:07:02 -05:00
parent 5435fcf5c4
commit 22e88b5be2
3 changed files with 5 additions and 2 deletions

View File

@@ -726,7 +726,7 @@ int BasicMBRData::FindOverlaps(void) {
if (numEE > 1)
cout << "\nCaution: More than one 0xEE MBR partition found. This can cause problems\n"
<< "in some OSes.\n";
if (!ProtectiveOnOne)
if (!ProtectiveOnOne && (numEE > 0))
cout << "\nWarning: 0xEE partition doesn't start on sector 1. This can cause "
<< "problems\nin some OSes.\n";