mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +01:00
gpg: Make --quiet work on --send-keys.
* g10/keyserver.c (keyserver_put): Act upon --quiet. -- Suggested-by: Robin H. Johnson <robbat2@gentoo.org> Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
209caaff66
commit
d9c4c3776b
@ -1811,9 +1811,10 @@ keyserver_put (ctrl_t ctrl, strlist_t keyspecs)
|
||||
log_error (_("skipped \"%s\": %s\n"), kspec->d, gpg_strerror (err));
|
||||
else
|
||||
{
|
||||
log_info (_("sending key %s to %s\n"),
|
||||
keystr (keyblock->pkt->pkt.public_key->keyid),
|
||||
ksurl?ksurl:"[?]");
|
||||
if (!opt.quiet)
|
||||
log_info (_("sending key %s to %s\n"),
|
||||
keystr (keyblock->pkt->pkt.public_key->keyid),
|
||||
ksurl?ksurl:"[?]");
|
||||
|
||||
err = gpg_dirmngr_ks_put (ctrl, data, datalen, keyblock);
|
||||
release_kbnode (keyblock);
|
||||
|
Loading…
x
Reference in New Issue
Block a user