aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-connect-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpg-connect-agent.c')
-rw-r--r--tools/gpg-connect-agent.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/gpg-connect-agent.c b/tools/gpg-connect-agent.c
index dff367050..7a0dc65b9 100644
--- a/tools/gpg-connect-agent.c
+++ b/tools/gpg-connect-agent.c
@@ -1319,8 +1319,7 @@ main (int argc, char **argv)
assuan_fd_t no_close[3];
no_close[0] = assuan_fd_from_posix_fd (es_fileno (es_stderr));
- no_close[1] = assuan_fd_from_posix_fd (log_get_fd ());
- no_close[2] = ASSUAN_INVALID_FD;
+ no_close[1] = ASSUAN_INVALID_FD;
rc = assuan_new (&ctx);
if (rc)