aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-05-16 10:24:08 +0000
committerWerner Koch <[email protected]>2019-05-16 10:27:03 +0000
commit3a28706cfd960ff84dda9a22aa2f160b4c2efbb5 (patch)
tree7196085e470a8cf145c60c7aa8235b3f9af532ad /tools/gpgconf.c
parentdoc: Do not mention gpg's deprecated --keyserver option. (diff)
downloadgnupg-3a28706cfd960ff84dda9a22aa2f160b4c2efbb5.tar.gz
gnupg-3a28706cfd960ff84dda9a22aa2f160b4c2efbb5.zip
gpgconf: Before --launch check that the config file is fine.
* tools/gpgconf-comp.c (gc_component_launch): Check the conf file. * tools/gpgconf.c (gpgconf_failure): Call log_flush. -- GnuPG-bug-id: 4497 Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r--tools/gpgconf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpgconf.c b/tools/gpgconf.c
index 4cd0505dd..d9ee4a9c6 100644
--- a/tools/gpgconf.c
+++ b/tools/gpgconf.c
@@ -900,6 +900,7 @@ main (int argc, char **argv)
void
gpgconf_failure (gpg_error_t err)
{
+ log_flush ();
if (!err)
err = gpg_error (GPG_ERR_GENERAL);
gpgconf_write_status