aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-20 21:56:11 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-22 10:57:29 +0100
commit7c4eb706c124806d254af6033c7023ee488b2c6c (patch)
tree735f7782e3d02617fcae19936c7d1609da32946d /src/rspamd.c
parent885b63d8457dba1094f465471432d5e2cbdb7dea (diff)
downloadrspamd-7c4eb706c124806d254af6033c7023ee488b2c6c.tar.gz
rspamd-7c4eb706c124806d254af6033c7023ee488b2c6c.zip
[Project] Another try to deal with final events
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index 00995c470..2c27b85cc 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -967,7 +967,7 @@ rspamd_term_handler (struct ev_loop *loop, ev_signal *w, int revents)
rspamd_log_nolock (rspamd_main->logger);
/* Stop srv events to avoid false notifications */
g_hash_table_foreach (rspamd_main->workers, stop_srv_ev, rspamd_main);
- rspamd_pass_signal (rspamd_main->workers, w->signum);
+ rspamd_pass_signal (rspamd_main->workers, SIGTERM);
if (control_fd != -1) {
ev_io_stop (rspamd_main->event_loop, &control_ev);