From d98bea900ee694cdba83149620c65bd7f8765f26 Mon Sep 17 00:00:00 2001 From: Samba Release Account Date: Sat, 31 May 1997 01:11:40 +0000 Subject: namepacket.c: Block SIGTERM correctly - we can only take them at defined points. nameserv.c: Fixup name release code - used when we are going down. nameservreply.c: Relaxed check for deleting name - original code never deleted. nmbd.c: Block SIGTERM signals most of the time - see comment on namepacket above. Jeremy (jallison@whistle.com) (This used to be commit 9f4e01224751134c2f7701e2aea87d06a79d77a4) --- source3/nmbd/nmbd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/nmbd/nmbd.c') diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 99d65d551a..dc3f642cd6 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -571,6 +571,8 @@ static void usage(char *pname) DEBUG(3,("Dumped names\n")); + /* We can only take sigterm signals in the select. */ + BlockSignals(True,SIGTERM); process(); close_sockets(); -- cgit