aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-10-05 07:13:27 +0000
committerWerner Koch <[email protected]>2016-10-05 07:13:27 +0000
commitf57dc2b1e6f28d164f882373535dbcb0d632ca17 (patch)
tree75113d312eaf56a71d27966d4d33402c6763fad1
parentagent: Fix error handling in map_supervised_sockets (diff)
downloadgnupg-f57dc2b1e6f28d164f882373535dbcb0d632ca17.tar.gz
gnupg-f57dc2b1e6f28d164f882373535dbcb0d632ca17.zip
agent: Fix npth + supervised mode problem.
* agent/gpg-agent.c (main): Initialize modules in supervised mode. -- It was probably my fault. I had to rebase my patches to take in the npth patches but for some reason my addition of initialize_modules got lost. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r--agent/gpg-agent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 9c7b8fcc9..dcc9bb6a4 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1456,6 +1456,8 @@ main (int argc, char **argv )
#ifndef HAVE_W32_SYSTEM
gnupg_fd_t fd, fd_extra, fd_browser, fd_ssh;
+ initialize_modules ();
+
/* when supervised and sending logs to stderr, the process
supervisor should handle log entry metadata (pid, name,
timestamp) */