mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-23 03:49:23 +00:00
Ignore SIGPIPE
This commit is contained in:
parent
5b9b73abcc
commit
7fe032915f
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue