mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-03 04:12:40 +00:00
trivial: Fix a critical warning when checking component requirements
This commit is contained in:
parent
efc5abe74e
commit
34e48634af
@ -2513,7 +2513,7 @@ fu_engine_filter_apps_by_requirements (FuEngine *self, GPtrArray *apps,
|
||||
g_autoptr(GError) error_local = NULL;
|
||||
AsApp *app_tmp = AS_APP (g_ptr_array_index (apps, i));
|
||||
if (!fu_engine_check_requirements (self, app_tmp, device, &error_local)) {
|
||||
if (error_all != NULL) {
|
||||
if (error_all == NULL) {
|
||||
error_all = g_steal_pointer (&error_local);
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user