Only log signals other than SIGTERM
This commit is contained in:
parent
f7850dde39
commit
a6b78bc827
@ -275,7 +275,7 @@ void serviceReap(pid_t pid, int status) {
|
|||||||
service->name, pid, exit
|
service->name, pid, exit
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else if (WIFSIGNALED(status)) {
|
} else if (WIFSIGNALED(status) && WTERMSIG(status) != SIGTERM) {
|
||||||
syslog(
|
syslog(
|
||||||
LOG_WARNING, "%s[%d] signaled %s",
|
LOG_WARNING, "%s[%d] signaled %s",
|
||||||
service->name, pid, sys_signame[WTERMSIG(status)]
|
service->name, pid, sys_signame[WTERMSIG(status)]
|
||||||
|
Loading…
Reference in New Issue
Block a user