summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-29 03:10:39 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-29 03:10:39 +0000
commit7731692b74ff0cb58a6262b2f436fdddacbe7d08 (patch)
tree4d55deb0fcb1a555ed4d3a3dd8a73118fac8609d /source3/nmbd/nmbd.c
parent38142a1ebbe860778e26eaff68585726061c05e2 (diff)
downloadsamba-7731692b74ff0cb58a6262b2f436fdddacbe7d08.tar.gz
samba-7731692b74ff0cb58a6262b2f436fdddacbe7d08.tar.bz2
samba-7731692b74ff0cb58a6262b2f436fdddacbe7d08.zip
don't exit on a SIGPIPE
(This used to be commit f18b4e95bffb25fa016dd6e7f9a128a9fc69466f)
Diffstat (limited to 'source3/nmbd/nmbd.c')
-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 */