diff options
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index 344a0e345..45f24b950 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -103,7 +103,7 @@ sig_handler (gint signo, siginfo_t *info, void *unused) { switch (signo) { case SIGUSR1: - reopen_log (); + reopen_log (rspamd_main->logger); break; case SIGINT: case SIGTERM: @@ -264,7 +264,6 @@ sigusr_handler (gint fd, short what, void *arg) event_del (&worker->sig_ev); event_del (&worker->bind_ev); close (worker->cf->listen_sock); - do_reopen_log = 1; msg_info ("worker's shutdown is pending in %d sec", SOFT_SHUTDOWN_TIME); event_loopexit (&tv); mods = ctx->max_mods + 1; |