1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

don't exit on a SIGPIPE

This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 779b924ec1
commit f18b4e95bf

View 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 */