mirror of
git://erdgeist.org/opentracker
synced 2025-02-22 09:01:29 +08:00
Ignore SIGPIPE. This is safe, since it only raises, when the remote site died before we could send our paket back and is catched by write() returning -1
This commit is contained in:
parent
74a7fbd6fe
commit
cb12e922d5
@ -382,6 +382,7 @@ allparsed:
|
||||
if (!io_fd(s))
|
||||
panic("io_fd");
|
||||
|
||||
signal( SIGPIPE, SIG_IGN );
|
||||
signal( SIGINT, graceful );
|
||||
if( init_logic( serverdir ) == -1 )
|
||||
panic("Logic not started");
|
||||
|
Loading…
x
Reference in New Issue
Block a user