summaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-10-31 20:13:04 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-10-31 20:13:04 +0000
commitf92417acd48e03d9f44d5b393c523b4f28ac8521 (patch)
tree83ad4c686f4bc61f63a9209d4e0885382e6510ab /src/rspamd.c
parent425813061cce696a2d77094a93f6c13d73ccc783 (diff)
downloadrspamd-f92417acd48e03d9f44d5b393c523b4f28ac8521.tar.gz
rspamd-f92417acd48e03d9f44d5b393c523b4f28ac8521.zip
[Minor] Set crash handler all the time
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c4
1 files changed, 1 insertions, 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);