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); }