ignore SIGPIPE

This commit is contained in:
ps 2011-09-29 20:37:53 +00:00
parent 0b23a7eee5
commit c3d00e50f6
1 changed files with 1 additions and 0 deletions

View File

@ -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