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; } }