Log explicitly when shutting down

This commit is contained in:
Samuel Thibault 2025-03-30 12:45:21 +02:00
parent 4ba646d2af
commit 22f650d828

View file

@ -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)