Skip to content

Commit cab027d

Browse files
dmnkspmatilai
authored andcommitted
Emit warning instead of error on failed key read
This makes the warning more consistent with the other ones added in the previous commit.
1 parent 75de4f3 commit cab027d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/keystore.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ static rpmRC load_keys_from_glob(rpmtxn txn, rpmKeyring keyring, string glob)
5959
rpmPubkey key = rpmPubkeyRead(*f);
6060

6161
if (!key) {
62-
rpmlog(RPMLOG_ERR, _("%s: reading of public key failed.\n"), *f);
62+
rpmlog(RPMLOG_WARNING, _("Could not read key %s\n"), *f);
6363
continue;
6464
}
6565

0 commit comments

Comments
 (0)