summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-02 12:44:28 -0700
committerAndrew Tridgell <tridge@samba.org>2010-10-02 21:11:52 -0700
commit87f0145d078d1598c9889e2cc2942e654794ae4a (patch)
tree58f5faa32e384c66eae2b19053d009b993b54de5 /source4
parentb772871f4c85fe15b62cfca5c3a6d1f1a66540d6 (diff)
downloadsamba-87f0145d078d1598c9889e2cc2942e654794ae4a.tar.gz
samba-87f0145d078d1598c9889e2cc2942e654794ae4a.tar.bz2
samba-87f0145d078d1598c9889e2cc2942e654794ae4a.zip
s4-server: exit with status 127 on SIGTERM
this ensures that make test detects a failure if samba is killed by SIGTERM
Diffstat (limited to 'source4')
-rw-r--r--source4/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 60269d003e..65364556fc 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);
}
/*