Ignore SIGPIPE

This commit is contained in:
Maxime Coste 2015-05-20 22:53:14 +01:00
parent dfd6182bbb
commit 325cc2d894

View File

@ -541,6 +541,7 @@ int main(int argc, char* argv[])
signal(SIGFPE, signal_handler); signal(SIGFPE, signal_handler);
signal(SIGQUIT, signal_handler); signal(SIGQUIT, signal_handler);
signal(SIGTERM, signal_handler); signal(SIGTERM, signal_handler);
signal(SIGPIPE, SIG_IGN);
Vector<String> params; Vector<String> params;
for (size_t i = 1; i < argc; ++i) for (size_t i = 1; i < argc; ++i)