mirror of
https://github.com/wownero/p2pool-wow.git
synced 2026-10-30 20:48:37 +01:00
Ignore SIGPIPE
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user