summary refs log tree commit diff
path: root/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.c b/daemon.c
index 490e13f..15c278d 100644
--- a/daemon.c
+++ b/daemon.c
@@ -46,7 +46,7 @@ struct timespec resetInterval = { .tv_sec = 15 * 60 };
 
 static volatile sig_atomic_t signals[NSIG];
 static void signalHandler(int signal) {
-	signals[signal]++;
+	signals[signal] = 1;
 }
 
 static int parseConfig(const char *path) {