mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-18 14:17:03 +01:00
gpg: Emit a new error status line in --quick-adduid.
* g10/keyedit.c (menu_adduid): Emit an ERROR status for an existsing user id. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
0fd332bc1f
commit
f4e11f2e9e
@ -4308,7 +4308,10 @@ menu_adduid (ctrl_t ctrl, kbnode_t pub_keyblock,
|
||||
if (!uid)
|
||||
{
|
||||
if (uidstring)
|
||||
{
|
||||
write_status_error ("adduid", gpg_error (304));
|
||||
log_error ("%s", _("Such a user ID already exists on this key!\n"));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user