Changes to sector alignment policies and behavior when restoring a
backup fails
diff --git a/mbr.cc b/mbr.cc
index b142a7a..249fc27 100644
--- a/mbr.cc
+++ b/mbr.cc
@@ -85,7 +85,7 @@
       canDeleteMyDisk = 1;
    } // if
    if (myDisk->OpenForRead(deviceFilename)) {
-      ReadMBRData(myDisk);
+      allOK = ReadMBRData(myDisk);
    } else {
       allOK = 0;
    } // if
@@ -101,7 +101,7 @@
 // Note that any extended partition(s) present will be explicitly stored
 // in the partitions[] array, along with their contained partitions; the
 // extended container partition(s) should be ignored by other functions.
-void MBRData::ReadMBRData(DiskIO * theDisk, int checkBlockSize) {
+int MBRData::ReadMBRData(DiskIO * theDisk, int checkBlockSize) {
    int allOK = 1, i, j, logicalNum;
    int err = 1;
    TempMBR tempMBR;
@@ -201,6 +201,7 @@
          } // for
       } // if (hybrid detection code)
    } // no initial error
+   return allOK;
 } // MBRData::ReadMBRData(DiskIO * theDisk, int checkBlockSize)
 
 // This is a recursive function to read all the logical partitions, following the