From f92417acd48e03d9f44d5b393c523b4f28ac8521 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 31 Oct 2022 20:13:04 +0000 Subject: [PATCH] [Minor] Set crash handler all the time --- src/rspamd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/rspamd.c b/src/rspamd.c index d0b382856..17c5fc493 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -1503,9 +1503,7 @@ main (gint argc, gchar **argv, gchar **env) rspamd_main->pid = getpid (); rspamd_main->type = type; - if (!valgrind_mode) { - rspamd_set_crash_handler (rspamd_main); - } + rspamd_set_crash_handler (rspamd_main); /* Ignore SIGPIPE as we handle write errors manually */ sigemptyset (&sigpipe_act.sa_mask); -- 2.39.5