diff options
author | Werner Koch <[email protected]> | 2021-04-20 08:27:04 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-04-20 08:27:04 +0000 |
commit | b657d6c3bd8103d40d511a3293313a891a26a9f5 (patch) | |
tree | 806f989897e70bb9020f83bc2c1f7b9d38e463a1 | |
parent | sm: New command --show-certs (diff) | |
download | gnupg-b657d6c3bd8103d40d511a3293313a891a26a9f5.tar.gz gnupg-b657d6c3bd8103d40d511a3293313a891a26a9f5.zip |
gpgconf: Fix a diagnostic output.
* tools/gpgconf-comp.c (gc_component_launch): Fix diagnostic.
* doc/examples/common.conf: Fix example.
Signed-off-by: Werner Koch <[email protected]>
-rw-r--r-- | doc/examples/common.conf | 2 | ||||
-rw-r--r-- | tools/gpgconf-comp.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/examples/common.conf b/doc/examples/common.conf index 786feae58..d58c43c3b 100644 --- a/doc/examples/common.conf +++ b/doc/examples/common.conf @@ -19,4 +19,4 @@ # standard logging socket (socket://) or a tcp server (tcp://ip:port). # If a file name is given the name of the component is internally # appended. -#socket:// +#log-file socket:// diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c index c3ee36ad1..2a5087e1f 100644 --- a/tools/gpgconf-comp.c +++ b/tools/gpgconf-comp.c @@ -948,7 +948,10 @@ gc_component_launch (int component) gc_component[component].name); if (!opt.quiet) log_info (_("Note: Use the command \"%s%s\" to get details.\n"), - gc_component[component].name, " --gpgconf-test"); + gc_component[component].program + ? gc_component[component].program + : gc_component[component].name, + " --gpgconf-test"); gpgconf_failure (0); } |