diff --git a/src/debug.c b/src/debug.c index 7e9c643f6..2639d284d 100644 --- a/src/debug.c +++ b/src/debug.c @@ -1642,7 +1642,7 @@ void sigsegvHandler(int sig, siginfo_t *info, void *secret) { serverLog(LL_WARNING, "Accessing address: %p", (void*)info->si_addr); } - if (info->si_code <= SI_USER && info->si_pid != -1) { + if (info->si_code == SI_USER && info->si_pid != -1) { serverLog(LL_WARNING, "Killed by PID: %ld, UID: %d", (long) info->si_pid, info->si_uid); } serverLog(LL_WARNING,