summaryrefslogtreecommitdiff
path: root/pullreqd.c
diff options
context:
space:
mode:
Diffstat (limited to 'pullreqd.c')
-rw-r--r--pullreqd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pullreqd.c b/pullreqd.c
index a690b3e..13ec9b8 100644
--- a/pullreqd.c
+++ b/pullreqd.c
@@ -21,3 +21,7 @@ pid_t fork_proc() {
}
return pid;
}
+
+void child_handler(int sig_num) {
+ signal(SIGCHLD, child_handler);
+}