mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 04:23:33 +00:00
trivial: Do not assume updates fail by default
We have the property notification in place now so that the update state is saved correctly to the database on error. This helps with debugging as we don't need to explain (to ourselves?!) why the device is marked as failed even though nothing has run.
This commit is contained in:
parent
944ba87b59
commit
a52de99813
@ -2439,7 +2439,6 @@ fu_engine_install_release (FuEngine *self,
|
||||
if (tmp != NULL)
|
||||
fwupd_release_add_checksum (release_tmp, tmp);
|
||||
fwupd_release_set_version (release_tmp, version_rel);
|
||||
fu_device_set_update_state (device, FWUPD_UPDATE_STATE_FAILED);
|
||||
if (!fu_history_add_device (self->history, device, release_tmp, error))
|
||||
return FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user