diff --git a/src/p2pool.cpp b/src/p2pool.cpp index 7fb94c7..ceddfe8 100644 --- a/src/p2pool.cpp +++ b/src/p2pool.cpp @@ -1288,6 +1288,10 @@ static bool init_uv_threadpool() static bool init_signals(p2pool* pool) { +#ifdef SIGPIPE + signal(SIGPIPE, SIG_IGN); +#endif + constexpr int signal_names[] = { SIGHUP, SIGINT,