diff options
| -rw-r--r-- | pullreqd.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,3 +21,7 @@ pid_t fork_proc() { } return pid; } + +void child_handler(int sig_num) { + signal(SIGCHLD, child_handler); +} |
![]() |
index : pullreqd | |
| A standalone daemon for handling pull requests of git repos. | mr b0nk 500 |
| summaryrefslogtreecommitdiff |
| -rw-r--r-- | pullreqd.c | 4 |
@@ -21,3 +21,7 @@ pid_t fork_proc() { } return pid; } + +void child_handler(int sig_num) { + signal(SIGCHLD, child_handler); +} |