1
0

Merge pull request #2487 from cuberite/sigpipe

Ignore Sigpipe
This commit is contained in:
Mattes D 2015-09-19 22:12:39 +02:00
commit 7ecace5939

View File

@ -473,6 +473,10 @@ int main(int argc, char **argv)
#endif
#ifdef __unix__
std::signal(SIGPIPE, SIG_IGN);
#endif
#ifdef _WIN32
if (!SetConsoleCtrlHandler((PHANDLER_ROUTINE)CtrlHandler, TRUE))
{