mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
Fix --check-options
This commit is contained in:
parent
e5c6738629
commit
299cb641e6
@ -1,3 +1,7 @@
|
||||
2010-08-19 Werner Koch <wk@g10code.com>
|
||||
|
||||
* gpgconf.c (main): Fix --check-options.
|
||||
|
||||
2010-02-11 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
From 2009-09-23, 2009-11-04, 2009-11-05, 2009-12-08:
|
||||
|
@ -226,6 +226,10 @@ main (int argc, char **argv)
|
||||
putc ('\n', stderr);
|
||||
exit (1);
|
||||
}
|
||||
if (cmd == aCheckOptions)
|
||||
gc_component_check_options (idx, get_outfp (&outfp), NULL);
|
||||
else
|
||||
{
|
||||
gc_component_retrieve_options (idx);
|
||||
if (gc_process_gpgconf_conf (NULL, 1, 0, NULL))
|
||||
exit (1);
|
||||
@ -233,8 +237,7 @@ main (int argc, char **argv)
|
||||
gc_component_list_options (idx, get_outfp (&outfp));
|
||||
else if (cmd == aChangeOptions)
|
||||
gc_component_change_options (idx, stdin, get_outfp (&outfp));
|
||||
else
|
||||
gc_component_check_options (idx, get_outfp (&outfp), NULL);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user