diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-08-29 03:10:39 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-08-29 03:10:39 +0000 |
commit | 7731692b74ff0cb58a6262b2f436fdddacbe7d08 (patch) | |
tree | 4d55deb0fcb1a555ed4d3a3dd8a73118fac8609d /source3/nmbd | |
parent | 38142a1ebbe860778e26eaff68585726061c05e2 (diff) | |
download | samba-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')
-rw-r--r-- | source3/nmbd/nmbd.c | 3 |
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 */ |