Fix typo in signal handler, SIGINT -> SIGCHLD
This commit is contained in:
parent
b04ba86f9d
commit
da8a3d2e29
1 changed files with 2 additions and 2 deletions
4
quark.c
4
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue