quark

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

commit da8a3d2e29cbfbd573626b1ce14ccef94c6293f3
parent b04ba86f9d5019bb3c9e8543f728b51616745a9f
Author: Quentin Rameau <quinq@fifth.space>
Date:   Sun, 23 Jul 2017 01:45:33 +0200

Fix typo in signal handler, SIGINT -> SIGCHLD

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

diff --git a/quark.c b/quark.c @@ -1055,9 +1055,9 @@ main(int argc, char *argv[]) break; case 0: /* reap children automatically */ - if (signal(SIGINT, SIG_IGN) == SIG_ERR) { + if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) { fprintf(stderr, "%s: signal: Failed to set SIG_IGN on" - "SIGINT\n", argv0); + "SIGCHLD\n", argv0); return 1; }