mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 02:03:26 +00:00
trivial: Be more explicit about testing for import success
This commit is contained in:
parent
fe490ebb80
commit
77df553db7
@ -145,7 +145,7 @@ fu_keyring_add_public_key (FuKeyring *keyring, const gchar *filename, GError **e
|
||||
}
|
||||
|
||||
/* make sure keys were really imported */
|
||||
if (result->imported == result->unchanged) {
|
||||
if (result->imported == 0 && result->unchanged == 0) {
|
||||
g_debug("imported: %d, unchanged: %d, not_imported: %d",
|
||||
result->imported,
|
||||
result->unchanged,
|
||||
|
Loading…
Reference in New Issue
Block a user