mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 14:32:56 +00:00
trivial: Clear any device checksums after the online update
This commit is contained in:
parent
b7bf715435
commit
f556d371da
@ -863,6 +863,7 @@ fu_plugin_runner_update (FuPlugin *plugin,
|
||||
g_autoptr(FuPending) pending = NULL;
|
||||
g_autoptr(FwupdResult) res_pending = NULL;
|
||||
GError *error_update = NULL;
|
||||
GPtrArray *checksums;
|
||||
|
||||
/* not enabled */
|
||||
if (!priv->enabled)
|
||||
@ -907,6 +908,10 @@ fu_plugin_runner_update (FuPlugin *plugin,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* no longer valid */
|
||||
checksums = fu_device_get_checksums (device);
|
||||
g_ptr_array_set_size (checksums, 0);
|
||||
|
||||
/* cleanup */
|
||||
if (res_pending != NULL) {
|
||||
const gchar *tmp;
|
||||
|
Loading…
Reference in New Issue
Block a user