summaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/worker.c b/src/worker.c
index 10a7aeace..8edf2ccce 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -100,6 +100,9 @@ sig_handler (int signo, siginfo_t *info, void *unused)
struct timeval tv;
switch (signo) {
+ case SIGUSR1:
+ reopen_log ();
+ break;
case SIGINT:
case SIGTERM:
if (!wanna_die) {