diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index 983923437..ca5663c13 100644 --- a/src/main.c +++ b/src/main.c @@ -408,8 +408,8 @@ main(int argc, const char *argv[]) act.sa_flags = SA_RESTART; act.sa_handler = SIG_IGN; - if (sigaction(SIGWINCH, &act, NULL) < 0) { - perror("sigaction(SIGWINCH)"); + if (sigaction(SIGPIPE, &act, NULL) < 0) { + perror("sigaction(SIGPIPE)"); exit(EXIT_FAILURE); } |