diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-11-13 14:54:43 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-11-13 14:54:43 +0100 |
commit | 653b4015f137d9590147f8774ec686031696f81c (patch) | |
tree | 500f9ace9a4af1894416bca58dac3bfc5d45fe7e | |
parent | d3f36e5978e85a926c497e2aa2cbdf319776ebb5 (diff) | |
download | bird-653b4015f137d9590147f8774ec686031696f81c.tar bird-653b4015f137d9590147f8774ec686031696f81c.zip |
After shutdown, BIRD should have exit code 0.
-rw-r--r-- | sysdep/unix/main.c | 3 |
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); } /* |