ignore SIGPIPE
This commit is contained in:
parent
0b23a7eee5
commit
c3d00e50f6
|
@ -120,6 +120,7 @@ main
|
||||||
signal(SIGTERM,exit_requested);
|
signal(SIGTERM,exit_requested);
|
||||||
signal(SIGINT,exit_requested);
|
signal(SIGINT,exit_requested);
|
||||||
signal(SIGCHLD,SIG_IGN);
|
signal(SIGCHLD,SIG_IGN);
|
||||||
|
signal(SIGPIPE,SIG_IGN);
|
||||||
|
|
||||||
//we have to create the server socket BEFORE chrooting, because if we don't,
|
//we have to create the server socket BEFORE chrooting, because if we don't,
|
||||||
//SSL cannot initialize because it's missing libz
|
//SSL cannot initialize because it's missing libz
|
||||||
|
|
Loading…
Reference in a new issue