diff --git a/src/runner.c b/src/runner.c index e7da0fb..b30d8b0 100644 --- a/src/runner.c +++ b/src/runner.c @@ -20,6 +20,7 @@ #include #include +#include #include #include @@ -42,6 +43,8 @@ void *runServer(RunnerArgs *args) { fds[0].fd = notify; fds[0].events = POLLIN; + signal(SIGPIPE, SIG_IGN); + for (;;) { int i; poll(fds, connCount, site->timeout);