summaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/gpg-agent.c')
-rw-r--r--agent/gpg-agent.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 7093ee1e6..9eec9380a 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -996,6 +996,9 @@ main (int argc, char **argv )
right now and thus we restore it. That is not strictly
necessary but some programs falsely assume a cleared
signal mask. */
+ if ( !pth_kill () )
+ log_error ("pth_kill failed in foked process\n");
+
#ifdef HAVE_SIGPROCMASK
if (startup_signal_mask_valid)
{