Don't fail if slot already marked successful

This commit is contained in:
Caleb Connolly
2022-06-04 16:03:46 +01:00
parent 6fc95a16ee
commit f885e96bd3

View File

@@ -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],