mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpg: Show not found keys with --locate-key --verbose.
* g10/keylist.c (locate_one): Print a diagnostic for a not-found key. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
09f2a7bca6
commit
00def10d36
@ -626,6 +626,9 @@ locate_one (ctrl_t ctrl, strlist_t names)
|
||||
{
|
||||
if (gpg_err_code (rc) != GPG_ERR_NO_PUBKEY)
|
||||
log_error ("error reading key: %s\n", gpg_strerror (rc));
|
||||
else if (opt.verbose)
|
||||
log_info (_("key \"%s\" not found: %s\n"),
|
||||
sl->d, gpg_strerror (rc));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user