summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 51f0a881f..da6d76e48 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1050,7 +1050,8 @@ main (gint argc, gchar **argv, gchar **env)
print_signals_info ();
#endif
if (do_terminate) {
- msg_debug ("catch termination signal, waiting for childs");
+ do_terminate = 0;
+ msg_info ("catch termination signal, waiting for childs");
pass_signal_worker (rspamd_main->workers, SIGTERM);
break;
}