mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
gpg: Add variant of 'key "%s" not found: %s' error message.
* g10/gpg.c (check_user_ids): Change error message. * g10/delkey.c (do_delete_key): Ditto. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
50a568e738
commit
5e2c5e9ec5
@ -116,7 +116,7 @@ do_delete_key( const char *username, int secret, int force, int *r_sec_avail )
|
||||
if (secret && !have_secret_key_with_kid (keyid))
|
||||
{
|
||||
err = gpg_error (GPG_ERR_NOT_FOUND);
|
||||
log_error (_("key \"%s\" not found: %s\n"), username, gpg_strerror (err));
|
||||
log_error (_("key \"%s\" not found\n"), username);
|
||||
write_status_text (STATUS_DELETE_PROBLEM, "1");
|
||||
goto leave;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user