summary refs log tree commit diff
diff options
context:
space:
mode:
-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) {