mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02: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
1 changed files with 4 additions and 1 deletions
|
@ -4308,7 +4308,10 @@ menu_adduid (ctrl_t ctrl, kbnode_t pub_keyblock,
|
|||
if (!uid)
|
||||
{
|
||||
if (uidstring)
|
||||
log_error ("%s", _("Such a user ID already exists on this key!\n"));
|
||||
{
|
||||
write_status_error ("adduid", gpg_error (304));
|
||||
log_error ("%s", _("Such a user ID already exists on this key!\n"));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue