diff options
author | Werner Koch <[email protected]> | 2024-04-05 09:02:43 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-04-05 09:02:43 +0000 |
commit | 548fd7bca787bfa9439c2bec4153a9311dbbea34 (patch) | |
tree | beb0cafa1c19828d8c39472ca88e3ac2d304ab13 /g10/call-agent.c | |
parent | gpg: Do not allow to accidently set the RENC usage. (diff) | |
download | gnupg-548fd7bca787bfa9439c2bec4153a9311dbbea34.tar.gz gnupg-548fd7bca787bfa9439c2bec4153a9311dbbea34.zip |
gpg: Don't show the "fast path listing" diagnostic with --quiet.
* g10/call-agent.c (agent_probe_any_secret_key): Act on --quiet.
--
When using the extra-socket this disagnostic will be printed because a
listing of all secret keys is not allowed by a remote gpg.
Diffstat (limited to 'g10/call-agent.c')
-rw-r--r-- | g10/call-agent.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c index daf12fae7..69207566e 100644 --- a/g10/call-agent.c +++ b/g10/call-agent.c @@ -2319,8 +2319,9 @@ agent_probe_any_secret_key (ctrl_t ctrl, kbnode_t keyblock) } if (err) { - log_info ("problem with fast path key listing: %s - ignored\n", - gpg_strerror (err)); + if (!opt.quiet) + log_info ("problem with fast path key listing: %s - ignored\n", + gpg_strerror (err)); err = 0; } /* We want to do this only once. */ |