Searched refs:handle_return (Results 1 – 1 of 1) sorted by relevance
94 static int handle_return(CommandResult cr, const char* errStr) { in handle_return() function107 return handle_return(ret, "Error marking as having booted successfully: %s\n"); in do_mark_boot_successful()118 return handle_return(cr, "Error setting active boot slot: %s\n"); in do_set_active_boot_slot()123 return handle_return(cr, "Error setting slot as unbootable: %s\n"); in do_set_slot_as_unbootable()126 static int handle_return(const std::optional<bool>& ret, const char* errStr) { in handle_return() function141 return handle_return(ret, "Error calling isSlotBootable()\n"); in do_is_slot_bootable()146 return handle_return(ret, "Error calling isSlotMarkedSuccessful()\n"); in do_is_slot_marked_successful()174 return handle_return(ret, "Failed to set snapshot merge status: %s\n"); in do_set_snapshot_merge_status()