summaryrefslogtreecommitdiff
path: root/sysdep/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/unix')
-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 75944c59..5e4aa97a 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);
}
/*