FIX: don't redirect signals on win32

This commit is contained in:
Juan José Gutiérrez de Quevedo Pérez 2014-09-05 13:45:44 +02:00
rodzic 62b6a5c5e0
commit 7728f8dae0
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -121,8 +121,10 @@ main
signal(SIGTERM,exit_requested);
signal(SIGINT,exit_requested);
#ifndef WIN32
signal(SIGCHLD,SIG_IGN);
signal(SIGPIPE,SIG_IGN);
#endif //WIN32
//we have to create the server socket BEFORE chrooting, because if we don't,
//SSL cannot initialize because it's missing libz