From 06c768afae67cdf302b6be1afa2de4564e8e0466 Mon Sep 17 00:00:00 2001 From: thebaptiste Date: Thu, 8 Feb 2024 17:09:34 +0000 Subject: [PATCH] fix: fix signal_handler for SIGINT --- src/log_proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log_proxy.c b/src/log_proxy.c index a1ffb05..557e070 100644 --- a/src/log_proxy.c +++ b/src/log_proxy.c @@ -97,7 +97,7 @@ gboolean rotate() { } void signal_handler(int signum) { - if ((signum == SIGTERM) || (signum == SIGTERM)) { + if ((signum == SIGINT) || (signum == SIGTERM)) { stop_signal = TRUE; } }