mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 07:09:57 +00:00
trivial: fu-util: break out of automatic reports if one is not automatic
Currently this is controlled by the order of remotes enumerated and might return the wrong result with too many remotes.
This commit is contained in:
parent
50202f5a89
commit
326950cd68
@ -345,8 +345,10 @@ fu_util_perhaps_show_unreported (FuUtilPrivate *priv, GError **error)
|
||||
g_debug ("%s is %d", fwupd_remote_get_title (remote), remote_automatic);
|
||||
if (remote_automatic && !all_automatic)
|
||||
all_automatic = TRUE;
|
||||
if (!remote_automatic && all_automatic)
|
||||
if (!remote_automatic && all_automatic) {
|
||||
all_automatic = FALSE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* check that they can be reported */
|
||||
|
Loading…
Reference in New Issue
Block a user