mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Help against closed standard descriptors.
This commit is contained in:
parent
227d6626b0
commit
2528eb4776
2 changed files with 6 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
|
||||
#include "gpgconf.h"
|
||||
#include "i18n.h"
|
||||
#include "sysutils.h"
|
||||
|
||||
/* Constants to identify the commands and options. */
|
||||
enum cmd_and_opt_values
|
||||
|
@ -145,6 +146,7 @@ main (int argc, char **argv)
|
|||
enum cmd_and_opt_values cmd = 0;
|
||||
FILE *outfp = NULL;
|
||||
|
||||
gnupg_reopen_std ("gpgconf");
|
||||
set_strusage (my_strusage);
|
||||
log_set_prefix ("gpgconf", 1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue