gpgconf: Before --launch check that the config file is fine.
authorWerner Koch <wk@gnupg.org>
Thu, 16 May 2019 10:24:08 +0000 (12:24 +0200)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 1 Jul 2022 16:06:43 +0000 (17:06 +0100)
commit858c3dbb325b4876553635d9ed5cbdee626823d3
tree81e4d3df3ed93da8b29415fbe57dc17f7aa6900a
parent04e8f1d83a764da9e9e8dd7fc25516b670b16514
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 <wk@gnupg.org>
(cherry picked from commit 3a28706cfd960ff84dda9a22aa2f160b4c2efbb5)

Gbp-Pq: Topic from-2.2.16
Gbp-Pq: Name gpgconf-Before-launch-check-that-the-config-file-is-fine.patch
tools/gpgconf-comp.c
tools/gpgconf.c