From 22f650d82882cfcd94035882a6dceb32317efa39 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 30 Mar 2025 12:45:21 +0200 Subject: [PATCH] Log explicitly when shutting down --- l2tpns.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/l2tpns.c b/l2tpns.c index 42e7469..5d9ad81 100644 --- a/l2tpns.c +++ b/l2tpns.c @@ -6396,7 +6396,10 @@ static void mainloop(void) } } } - LOG(1, 0, 0, "Leaving...\n"); + if (main_quit == QUIT_SHUTDOWN) + LOG(1, 0, 0, "Shutting down...\n"); + else + LOG(1, 0, 0, "Leaving cluster...\n"); // Are we the master and shutting down?? if (config->cluster_iam_master)