Skip to content
Snippets Groups Projects
Commit 5df2d96f authored by deuce's avatar deuce
Browse files

don't exit on SIGPIPE (ircd.js for example)

parent 0bdb8e67
Branches
Tags
No related merge requests found
......@@ -763,6 +763,9 @@ int main(int argc, char **argv, char** environ)
signal(SIGQUIT,break_handler);
signal(SIGINT,break_handler);
signal(SIGTERM,break_handler);
/* Don't die on SIGPIPE */
signal(SIGPIPE,SIG_IGN);
#endif
do {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment