]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
After shutdown, BIRD should have exit code 0.
authorOndrej Zajicek <santiago@crfreenet.org>
Fri, 13 Nov 2009 13:54:43 +0000 (14:54 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Fri, 13 Nov 2009 13:54:43 +0000 (14:54 +0100)
sysdep/unix/main.c

index 75944c591f720b6770412fd17991278ec1524d5d..5e4aa97a74e0f57d257ac8027aaa5deff4bee1f9 100644 (file)
@@ -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);
 }
 
 /*