diff --git a/src/suricata.c b/src/suricata.c index 24ffa0fe6445..b246ce13f161 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -342,7 +342,7 @@ static void SignalHandlerUnexpected(int sig_num, siginfo_t *info, void *context) terminate: // Propagate signal to watchers, if any - kill(0, sig_num); + kill(getpid(), sig_num); } #undef UNW_LOCAL_ONLY #endif /* HAVE_LIBUNWIND */