diff options
author | Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> | 2017-08-09 18:35:56 +0200 |
---|---|---|
committer | Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> | 2017-08-09 18:37:20 +0200 |
commit | 977fc5f0eb9fdee19e66bea8cd2eb5414789b485 (patch) | |
tree | 9e510493667399797e1e2793f96eb7f050624dd8 /g10/keyedit.c | |
parent | Post release updates (diff) | |
download | gnupg2-977fc5f0eb9fdee19e66bea8cd2eb5414789b485.tar.xz gnupg2-977fc5f0eb9fdee19e66bea8cd2eb5414789b485.zip |
g10: Write status error on error of --quick-revoke-uid.
* g10/keyedit.c (keyedit_quick_revuid): Write status error on error.
Signed-off-by: Marcus Brinkmann <mb@g10code.com>
GnuPG-bug-id: 2963
Diffstat (limited to 'g10/keyedit.c')
-rw-r--r-- | g10/keyedit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c index e221b320e..38cdbce3a 100644 --- a/g10/keyedit.c +++ b/g10/keyedit.c @@ -2455,7 +2455,10 @@ keyedit_quick_revuid (ctrl_t ctrl, const char *username, const char *uidtorev) leave: if (err) - log_error (_("revoking the user ID failed: %s\n"), gpg_strerror (err)); + { + log_error (_("revoking the user ID failed: %s\n"), gpg_strerror (err)); + write_status_error ("keyedit.revoke.uid", err); + } release_kbnode (keyblock); keydb_release (kdbhd); } |