summaryrefslogtreecommitdiffstats
path: root/sysdep/unix
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-11-13 14:54:43 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2009-11-13 14:54:43 +0100
commit653b4015f137d9590147f8774ec686031696f81c (patch)
tree500f9ace9a4af1894416bca58dac3bfc5d45fe7e /sysdep/unix
parentd3f36e5978e85a926c497e2aa2cbdf319776ebb5 (diff)
downloadbird-653b4015f137d9590147f8774ec686031696f81c.tar
bird-653b4015f137d9590147f8774ec686031696f81c.zip
After shutdown, BIRD should have exit code 0.
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 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);
}
/*