Skip to content

Commit

Permalink
fix: fix signal_handler for SIGINT
Browse files Browse the repository at this point in the history
  • Loading branch information
thebaptiste committed Feb 8, 2024
1 parent 08858fe commit 06c768a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/log_proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ gboolean rotate() {
}

void signal_handler(int signum) {
if ((signum == SIGTERM) || (signum == SIGTERM)) {
if ((signum == SIGINT) || (signum == SIGTERM)) {
stop_signal = TRUE;
}
}
Expand Down

0 comments on commit 06c768a

Please sign in to comment.