projects
/
gnupg2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e55730
)
gpg: Emit an ERROR status if no key was found with --list-keys.
author
Werner Koch
<wk@gnupg.org>
Wed, 30 Jan 2019 13:40:26 +0000
(14:40 +0100)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Thu, 22 Aug 2019 19:11:59 +0000
(20:11 +0100)
* g10/keylist.c (list_one): Emit status line.
--
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit
140fda8c61422ec055c3f7e214cc35706c4320dd
)
(cherry picked from commit
14ea581a1c040b53b0ad4c51136a7948363b1e4b
)
Gbp-Pq: Topic from-2.2.13
Gbp-Pq: Name gpg-Emit-an-ERROR-status-if-no-key-was-found-with-list-ke.patch
g10/keylist.c
patch
|
blob
|
history
diff --git
a/g10/keylist.c
b/g10/keylist.c
index 66b03bb73c5f76001bfa78578851987f9dd5ca44..262ea8deece872a8b536481b1a9173b7ea134d41 100644
(file)
--- a/
g10/keylist.c
+++ b/
g10/keylist.c
@@
-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;
}