From 66ab8f807c96b778f2a2c82b58d3e15ac295e1b2 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 8 Dec 2014 11:10:11 +0100 Subject: gpg: Write a status line for a failed --send-keys. * g10/keyserver.c (keyserver_put): Write an status error. --- g10/keyserver.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'g10/keyserver.c') diff --git a/g10/keyserver.c b/g10/keyserver.c index e3ad70743..6b603cd9c 100644 --- a/g10/keyserver.c +++ b/g10/keyserver.c @@ -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)); + } } } -- cgit v1.2.3