From a6b78bc8274b183743eb30f235464f9b4e92f76c Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 15 Aug 2020 18:36:30 -0400 Subject: Only log signals other than SIGTERM --- service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.c b/service.c index 9b156f2..e7cfe2f 100644 --- a/service.c +++ b/service.c @@ -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)] -- cgit 1.4.1