summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nmbd/nmbd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 9b872f8ffe..3bb2584eaf 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -111,8 +111,7 @@ static void sig_pipe(int sig)
BlockSignals( True, SIGPIPE );
DEBUG( 0, ("Got SIGPIPE\n") );
- if ( !is_daemon )
- exit(1);
+
BlockSignals( False, SIGPIPE );
} /* sig_pipe */