summaryrefslogtreecommitdiff
path: root/basicmbr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'basicmbr.cc')
-rw-r--r--basicmbr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/basicmbr.cc b/basicmbr.cc
index 59d575c..9e754d4 100644
--- a/basicmbr.cc
+++ b/basicmbr.cc
@@ -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";