mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02: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>
This commit is contained in:
parent
1fd3d864b4
commit
140fda8c61
1 changed files with 1 additions and 0 deletions
|
@ -611,6 +611,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…
Add table
Add a link
Reference in a new issue