From 87f0145d078d1598c9889e2cc2942e654794ae4a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 2 Oct 2010 12:44:28 -0700 Subject: s4-server: exit with status 127 on SIGTERM this ensures that make test detects a failure if samba is killed by SIGTERM --- source4/smbd/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/smbd') diff --git a/source4/smbd/server.c b/source4/smbd/server.c index 60269d003e7..65364556fc0 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -117,7 +117,7 @@ static void sig_term(int sig) } #endif DEBUG(0,("Exiting pid %d on SIGTERM\n", (int)getpid())); - exit(0); + exit(127); } /* -- cgit