diff --git a/g10/keylist.c b/g10/keylist.c index 0b8aa88cd..fffd95c31 100644 --- a/g10/keylist.c +++ b/g10/keylist.c @@ -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; }