diff options
| author | Werner Koch <[email protected]> | 2019-05-16 10:24:08 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2019-05-16 10:25:07 +0000 |
| commit | 50c2f76ae65d4ee793876865011fa97c85f38ac2 (patch) | |
| tree | 84b83ea61a0dc28b1ecb8bbde3079058e86383aa /tools/gpgconf.c | |
| parent | scd: Remove unused cruft from GnuPG 1.x (diff) | |
| download | gnupg-50c2f76ae65d4ee793876865011fa97c85f38ac2.tar.gz gnupg-50c2f76ae65d4ee793876865011fa97c85f38ac2.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 'tools/gpgconf.c')
| -rw-r--r-- | tools/gpgconf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpgconf.c b/tools/gpgconf.c index b67125b89..a0cd97f60 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 |
