mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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>
This commit is contained in:
parent
0d669a360c
commit
3a28706cfd
2 changed files with 15 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue