quark

quark web server
git clone git://git.suckless.org/quark
Log | Files | Refs | LICENSE

commit 820f644fe379d57e8163cf7b8b1577de43f032bc
parent da8a3d2e29cbfbd573626b1ce14ccef94c6293f3
Author: Quentin Rameau <quinq@fifth.space>
Date:   Sun, 23 Jul 2017 01:49:52 +0200

Don't ignore SIGCHLD in the main thread

We are waiting on the child process.

Diffstat:
quark.c | 7-------
1 file changed, 0 insertions(+), 7 deletions(-)

diff --git a/quark.c b/quark.c @@ -1020,13 +1020,6 @@ main(int argc, char *argv[]) } } - /* reap children automatically */ - if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) { - fprintf(stderr, "%s: signal: Failed to set SIG_IGN on" - "SIGCHLD\n", argv0); - return 1; - } - /* raise the process limit */ rlim.rlim_cur = rlim.rlim_max = maxnprocs; if (setrlimit(RLIMIT_NPROC, &rlim) < 0) {