aboutsummaryrefslogtreecommitdiff
path: root/devel/distcc/files/patch-src::dparent.c
blob: 3d748e228ca67aafc508c7f8b033db2906880a90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/dparent.c.orig	Tue Jun 25 15:58:35 2002
+++ src/dparent.c	Tue Jun 25 15:58:48 2002
@@ -126,7 +126,7 @@
 
     memset(&act_exited, 0, sizeof act_exited);
     act_exited.sa_handler = dcc_child_exited;
-    act_exited.sa_flags = SA_NOCLDSTOP;
+    act_exited.sa_flags = SA_NOCLDSTOP|SA_RESTART;
 
     if (sigaction(SIGTERM, &act_catch, NULL)
         || sigaction(SIGHUP, &act_catch, NULL)