diff options
Diffstat (limited to 'tools/gpg-card.c')
-rw-r--r-- | tools/gpg-card.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/gpg-card.c b/tools/gpg-card.c index 3034a14c5..919e61195 100644 --- a/tools/gpg-card.c +++ b/tools/gpg-card.c @@ -3670,8 +3670,10 @@ cmd_gpg (card_info_t info, char *argstr, int use_gpgsm) } err = gnupg_process_spawn (use_gpgsm? opt.gpgsm_program:opt.gpg_program, - argv, GNUPG_PROCESS_STDIN_NULL, NULL, NULL, - &proc); + argv, + (GNUPG_PROCESS_STDOUT_KEEP + | GNUPG_PROCESS_STDERR_KEEP), + NULL, NULL, &proc); if (!err) { err = gnupg_process_wait (proc, 1); |