mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 07:09:57 +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 */
|
/* 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",
|
g_debug("imported: %d, unchanged: %d, not_imported: %d",
|
||||||
result->imported,
|
result->imported,
|
||||||
result->unchanged,
|
result->unchanged,
|
||||||
|
Loading…
Reference in New Issue
Block a user