summaryrefslogtreecommitdiff
path: root/sysdep/unix/main.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2021-08-31 21:38:23 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2024-07-05 17:11:44 +0200
commita8fc5f8838f85653afe848411c92fb75c96cd5db (patch)
tree718d8323e6892a9dfe89b7a49429b6732379416e /sysdep/unix/main.c
parentd867026d793ff60efa5aa5861db5832997ebc585 (diff)
Unix: debug
Diffstat (limited to 'sysdep/unix/main.c')
-rw-r--r--sysdep/unix/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index f681ab8e..d26e317a 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -714,6 +714,7 @@ unlink_pid_file(void)
void
cmd_shutdown(void)
{
+ log_msg(L_INFO "cmd_shutdown");
if (cli_access_restricted())
return;
@@ -724,6 +725,7 @@ cmd_shutdown(void)
void
async_shutdown(void)
{
+ log_msg(L_INFO "async_shutdown");
DBG("Shutting down...\n");
order_shutdown(0);
}
@@ -731,6 +733,7 @@ async_shutdown(void)
void
sysdep_shutdown_done(void)
{
+ log_msg(L_INFO "sysdep_shutdown_done");
unlink_pid_file();
cli_deafen(main_control_socket);
log_msg(L_FATAL "Shutdown completed");