From 653b4015f137d9590147f8774ec686031696f81c Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 13 Nov 2009 14:54:43 +0100 Subject: After shutdown, BIRD should have exit code 0. --- sysdep/unix/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysdep') 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); } /* -- cgit v1.2.3