|
@@ -456,7 +456,7 @@ static void set_signal(void)
|
|
|
sigaction(SIGTERM, &act, NULL);
|
|
sigaction(SIGTERM, &act, NULL);
|
|
|
sigaction(SIGINT, &act, NULL);
|
|
sigaction(SIGINT, &act, NULL);
|
|
|
act.sa_handler = SIG_IGN;
|
|
act.sa_handler = SIG_IGN;
|
|
|
- sigaction(SIGCLD, &act, NULL);
|
|
|
|
|
|
|
+ sigaction(SIGCHLD, &act, NULL);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static const char *pid_file;
|
|
static const char *pid_file;
|