From: Vsevolod Stakhov Date: Mon, 31 Oct 2022 20:13:04 +0000 (+0000) Subject: [Minor] Set crash handler all the time X-Git-Tag: 3.4~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f92417acd48e03d9f44d5b393c523b4f28ac8521;p=thirdparty%2Frspamd.git [Minor] Set crash handler all the time --- diff --git a/src/rspamd.c b/src/rspamd.c index d0b3828564..17c5fc4933 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);