diff --git a/bootctrl_impl.cpp b/bootctrl_impl.cpp index bfbcda5..705efd9 100644 --- a/bootctrl_impl.cpp +++ b/bootctrl_impl.cpp @@ -376,7 +376,7 @@ int mark_boot_successful(unsigned slot) if (successful) { fprintf(stderr, "SLOT %s: already marked successful\n", slot_suffix_arr[slot]); - return -1; + return 0; } if (update_slot_attribute(slot_suffix_arr[slot],