Only log signals other than SIGTERM

This commit is contained in:
C. McEnroe 2020-08-15 18:36:30 -04:00
parent f7850dde39
commit a6b78bc827

View File

@ -275,7 +275,7 @@ void serviceReap(pid_t pid, int status) {
service->name, pid, exit
);
}
} else if (WIFSIGNALED(status)) {
} else if (WIFSIGNALED(status) && WTERMSIG(status) != SIGTERM) {
syslog(
LOG_WARNING, "%s[%d] signaled %s",
service->name, pid, sys_signame[WTERMSIG(status)]