diff options
author | Roderick W. Smith <rodsmith@rodsbooks.com> | 2014-02-17 12:07:02 -0500 |
---|---|---|
committer | Roderick W. Smith <rodsmith@rodsbooks.com> | 2014-02-17 12:07:02 -0500 |
commit | 22e88b5be2c0c3f92e34d95da45922abfa02a28d (patch) | |
tree | bd6bb600fc2a12e2b0a839ab9645e78c95deac29 /basicmbr.cc | |
parent | 5435fcf5c47caf8c77034f7a277642d1e23e90f8 (diff) | |
download | sgdisk-22e88b5be2c0c3f92e34d95da45922abfa02a28d.tar.gz |
Fixed spurious error message in FixParts.
Diffstat (limited to 'basicmbr.cc')
-rw-r--r-- | basicmbr.cc | 2 |
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"; |