FIX: don't redirect signals on win32
This commit is contained in:
parent
62b6a5c5e0
commit
7728f8dae0
|
@ -121,8 +121,10 @@ main
|
||||||
|
|
||||||
signal(SIGTERM,exit_requested);
|
signal(SIGTERM,exit_requested);
|
||||||
signal(SIGINT,exit_requested);
|
signal(SIGINT,exit_requested);
|
||||||
|
#ifndef WIN32
|
||||||
signal(SIGCHLD,SIG_IGN);
|
signal(SIGCHLD,SIG_IGN);
|
||||||
signal(SIGPIPE,SIG_IGN);
|
signal(SIGPIPE,SIG_IGN);
|
||||||
|
#endif //WIN32
|
||||||
|
|
||||||
//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