diff options
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index a419c9f8d..7c6d1731d 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -189,7 +189,9 @@ static void InitSignals() sa.sa_handler = SIG_IGN; +#ifndef _WIN32 sigaction(SIGCHLD, &sa, NULL); +#endif sigaction(SIGPIPE, &sa, NULL); } |