summaryrefslogtreecommitdiff
path: root/sysdep/unix/main.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-08-29 01:58:34 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2020-09-13 18:06:16 +0200
commitfdce71f860e755cf58863234831fe8d37afa5251 (patch)
tree77275b3492eef388d2b39e6b5e02e54bbdabf1d8 /sysdep/unix/main.c
parent19d440d96151084dd933cf72c4410978fbb8334b (diff)
WIP debug
WIP debug unix socket WIP debug socket WIP debug sk_free WIP debug print errno WIP debug socket WIP debug fix sign-ness WIP debug put WIP debug unix socket
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 2c7e3cef..eb5d3528 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -567,6 +567,7 @@ unlink_pid_file(void)
void
cmd_shutdown(void)
{
+ log_msg(L_INFO "cmd_shutdown");
if (cli_access_restricted())
return;
@@ -577,6 +578,7 @@ cmd_shutdown(void)
void
async_shutdown(void)
{
+ log_msg(L_INFO "async_shutdown");
DBG("Shutting down...\n");
order_shutdown(0);
}
@@ -584,6 +586,7 @@ async_shutdown(void)
void
sysdep_shutdown_done(void)
{
+ log_msg(L_INFO "sysdep_shutdown_done");
unlink_pid_file();
unlink(path_control_socket);
log_msg(L_FATAL "Shutdown completed");