summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Metheringham <nigel@exim.org>2011-01-30 15:25:28 +0000
committerNigel Metheringham <nigel@exim.org>2011-01-30 15:32:31 +0000
commit605021fc4f501f97e5ec21db406f6ffde2f68cdd (patch)
tree9e5f7f78550061bff9ec4afc409e425d7bab6317
parent46c573de5f3da029d2e7c6f4dbbb20a9d88faad5 (diff)
child_open_uid: restore default SIGPIPE handler
Fixes bug 968 Merge branch 'sigpipe-fix' of git://github.com/lp0/exim into master
-rw-r--r--src/src/child.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/child.c b/src/src/child.c
index 0c1fd6d64..675a91b11 100644
--- a/src/src/child.c
+++ b/src/src/child.c
@@ -340,6 +340,7 @@ output when things go wrong. */
if (pid == 0)
{
signal(SIGUSR1, SIG_IGN);
+ signal(SIGPIPE, SIG_DFL);
if (newgid != NULL && setgid(*newgid) < 0)
{