summaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index 75944c5..5e4aa97 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -314,7 +314,8 @@ void
sysdep_shutdown_done(void)
{
unlink(path_control_socket);
- die("System shutdown completed");
+ log_msg(L_FATAL "System shutdown completed");
+ exit(0);
}
/*