summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 9c63589..b2af2d4 100644
--- a/main.c
+++ b/main.c
@@ -299,7 +299,7 @@ int main(int argc, char **argv) {
sigaction(SIGFPE, &act, NULL);
sigaction(SIGABRT, &act, NULL);
sigaction(SIGILL, &act, NULL);
- sigaction(SIGPIPE, &act, NULL);
+ signal(SIGPIPE, SIG_IGN);
}
#elif _WIN32
SetUnhandledExceptionFilter(error_signal_handler);