1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

gpg: Write a status line for a failed --send-keys.

* g10/keyserver.c (keyserver_put): Write an status error.
This commit is contained in:
Werner Koch 2014-12-08 11:10:11 +01:00
parent c50c11d575
commit 66ab8f807c

View File

@ -1828,7 +1828,10 @@ keyserver_put (ctrl_t ctrl, strlist_t keyspecs,
release_kbnode (keyblock);
xfree (data);
if (err)
log_error (_("keyserver send failed: %s\n"), gpg_strerror (err));
{
write_status_error ("keyserver_send", err);
log_error (_("keyserver send failed: %s\n"), gpg_strerror (err));
}
}
}