summaryrefslogtreecommitdiffstats
path: root/common/call-gpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/call-gpg.c')
-rw-r--r--common/call-gpg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/call-gpg.c b/common/call-gpg.c
index c1472e961..a4723ca43 100644
--- a/common/call-gpg.c
+++ b/common/call-gpg.c
@@ -106,8 +106,6 @@ start_gpg (ctrl_t ctrl, const char *gpg_program, strlist_t gpg_arguments,
argv[i++] = NULL;
i = 0;
- if (log_get_fd () != -1)
- no_close_list[i++] = assuan_fd_from_posix_fd (log_get_fd ());
no_close_list[i++] = assuan_fd_from_posix_fd (fileno (stderr));
if (input_fd != -1)
no_close_list[i++] = assuan_fd_from_posix_fd (input_fd);