Don't fail if slot already marked successful

merge-requests/7/head 0.1.0
Caleb Connolly 3 years ago
parent 6fc95a16ee
commit f885e96bd3
No known key found for this signature in database
GPG Key ID: 0583312B195F64B6
  1. 2
      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],

Loading…
Cancel
Save