summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 5c3be920f5..04751f6f56 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -58,7 +58,7 @@ extern struct in_addr ipzero;
****************************************************************************/
static int sig_term()
{
- BlockSignals(True);
+ BlockSignals(True,SIGTERM);
DEBUG(0,("Got SIGTERM: going down...\n"));
@@ -83,7 +83,7 @@ catch a sighup
****************************************************************************/
static int sig_hup(void)
{
- BlockSignals(True);
+ BlockSignals(True,SIGHUP);
DEBUG(0,("Got SIGHUP (reload not implemented)\n"));
dump_names();
@@ -91,7 +91,7 @@ static int sig_hup(void)
set_samba_nb_type();
- BlockSignals(False);
+ BlockSignals(False,SIGHUP);
#ifndef DONT_REINSTALL_SIG
signal(SIGHUP,SIGNAL_CAST sig_hup);
#endif
@@ -103,12 +103,12 @@ catch a sigpipe
****************************************************************************/
static int sig_pipe(void)
{
- BlockSignals(True);
+ BlockSignals(True,SIGPIPE);
DEBUG(0,("Got SIGPIPE\n"));
if (!is_daemon)
exit(1);
- BlockSignals(False);
+ BlockSignals(False,SIGPIPE);
return(0);
}