diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-31 20:13:04 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-31 20:13:04 +0000 |
commit | f92417acd48e03d9f44d5b393c523b4f28ac8521 (patch) | |
tree | 83ad4c686f4bc61f63a9209d4e0885382e6510ab /src/rspamd.c | |
parent | 425813061cce696a2d77094a93f6c13d73ccc783 (diff) | |
download | rspamd-f92417acd48e03d9f44d5b393c523b4f28ac8521.tar.gz rspamd-f92417acd48e03d9f44d5b393c523b4f28ac8521.zip |
[Minor] Set crash handler all the time
Diffstat (limited to 'src/rspamd.c')
-rw-r--r-- | src/rspamd.c | 4 |
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); |