summaryrefslogtreecommitdiff
path: root/llmnrd.c
diff options
context:
space:
mode:
Diffstat (limited to 'llmnrd.c')
-rw-r--r--llmnrd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/llmnrd.c b/llmnrd.c
index ba5023c..e79db24 100644
--- a/llmnrd.c
+++ b/llmnrd.c
@@ -91,7 +91,6 @@ static void signal_handler(int sig)
case SIGINT:
case SIGQUIT:
case SIGTERM:
- log_info("Interrupt received. Stopping llmnrd.\n");
llmnrd_running = false;
break;
case SIGHUP:
@@ -281,6 +280,8 @@ int main(int argc, char **argv)
}
}
+ log_info("Signal received. Stopping llmnrd.\n");
+
ret = 0;
out:
if (llmnrd_sock_rtnl >= 0)