summaryrefslogtreecommitdiffstats
path: root/tools/gpgconf-comp.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2021-04-20 10:27:04 +0200
committerWerner Koch <wk@gnupg.org>2021-04-20 10:27:04 +0200
commitb657d6c3bd8103d40d511a3293313a891a26a9f5 (patch)
tree806f989897e70bb9020f83bc2c1f7b9d38e463a1 /tools/gpgconf-comp.c
parentsm: New command --show-certs (diff)
downloadgnupg2-b657d6c3bd8103d40d511a3293313a891a26a9f5.tar.xz
gnupg2-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 <wk@gnupg.org>
Diffstat (limited to 'tools/gpgconf-comp.c')
-rw-r--r--tools/gpgconf-comp.c5
1 files changed, 4 insertions, 1 deletions
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);
}