mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-10 13:04:23 +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
b96b48d2bf
commit
de57b5bf91
@ -1833,9 +1833,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