From: Andrew Tridgell Date: Sat, 2 Oct 2010 19:44:28 +0000 (-0700) Subject: s4-server: exit with status 127 on SIGTERM X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=87f0145d078d1598c9889e2cc2942e654794ae4a;p=kai%2Fsamba.git s4-server: exit with status 127 on SIGTERM this ensures that make test detects a failure if samba is killed by SIGTERM --- 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); } /*