mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-10 13:04:23 +01:00
gpg: Emit an ERROR status if no key was found with --list-keys.
* g10/keylist.c (list_one): Emit status line. -- Signed-off-by: Werner Koch <wk@gnupg.org> (cherry picked from commit 140fda8c61422ec055c3f7e214cc35706c4320dd)
This commit is contained in:
parent
c16685b2f5
commit
14ea581a1c
@ -610,6 +610,7 @@ list_one (ctrl_t ctrl, strlist_t names, int secret, int mark_secret)
|
||||
{
|
||||
log_error ("error reading key: %s\n", gpg_strerror (rc));
|
||||
getkey_end (ctrl, ctx);
|
||||
write_status_error ("keylist.getkey", rc);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user