don't exit on a SIGPIPE
authorAndrew Tridgell <tridge@samba.org>
Sat, 29 Aug 1998 03:10:39 +0000 (03:10 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sat, 29 Aug 1998 03:10:39 +0000 (03:10 +0000)
source/nmbd/nmbd.c

index 9b872f8ffe04003dbd7139e1f52456ec399ac59b..3bb2584eaf29365c5ca20771919f6a6d28bb54e5 100644 (file)
@@ -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 */