mirror of
https://github.com/linux-msm/qbootctl.git
synced 2026-02-25 13:13:44 -08:00
Don't fail if slot already marked successful
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user