summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-04-13 22:41:08 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2019-04-13 22:41:08 +0200
commitfc9ea50c4b2d0644ec89ea99e8d1b94bd17f1468 (patch)
treec1544df73ed907c80cd1e9a1f01c2aa6c752c241 /sysdep
parent7a14e98a9778765037b1e2c69c504535c65aacc7 (diff)
android fixesandroid-old
Diffstat (limited to 'sysdep')
-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 921115b1..6c2f7678 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -539,6 +539,7 @@ unlink_pid_file(void)
void
cmd_shutdown(void)
{
+ log_msg(L_INFO "cmd_shutdown");
if (cli_access_restricted())
return;
@@ -549,6 +550,7 @@ cmd_shutdown(void)
void
async_shutdown(void)
{
+ log_msg(L_INFO "async_shutdown");
DBG("Shutting down...\n");
order_shutdown();
}
@@ -556,6 +558,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");