diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-15 22:38:34 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-15 22:38:34 +0100 |
commit | d48900e14e41e1b767af6f8461105d5239c3c93e (patch) | |
tree | 48d586a48c980c002fde3e64f2e9db729f46fb0d /src/smtp_proxy.c | |
parent | 665971625a939d5f8e5f41e99636f4e74ebca5d3 (diff) | |
download | rspamd-d48900e14e41e1b767af6f8461105d5239c3c93e.tar.gz rspamd-d48900e14e41e1b767af6f8461105d5239c3c93e.zip |
Block signals when exiting event loop
Diffstat (limited to 'src/smtp_proxy.c')
-rw-r--r-- | src/smtp_proxy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/smtp_proxy.c b/src/smtp_proxy.c index 40e5ce473..0ae9c70c4 100644 --- a/src/smtp_proxy.c +++ b/src/smtp_proxy.c @@ -1079,6 +1079,7 @@ start_smtp_proxy (struct rspamd_worker *worker) umask (S_IWGRP | S_IWOTH | S_IROTH | S_IRGRP); event_base_loop (ctx->ev_base, 0); + rspamd_worker_block_signals (); rspamd_log_close (worker->srv->logger); exit (EXIT_SUCCESS); |