summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgpt/cgpt_boot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgpt/cgpt_boot.c b/cgpt/cgpt_boot.c
index d3d207a7..9176a0cb 100644
--- a/cgpt/cgpt_boot.c
+++ b/cgpt/cgpt_boot.c
@@ -33,6 +33,7 @@ int cgpt_get_boot_partition_number(CgptBootParams *params) {
if (CGPT_OK != ReadPMBR(&drive)) {
Error("Unable to read PMBR\n");
+ retval = CGPT_FAILED;
goto done;
}