mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 07:48:52 +00:00
Merge pull request #2620
6bd4dac6
util: ignore SIGPIPE (moneromooo-monero)
This commit is contained in:
commit
f26e7a84a6
@ -148,9 +148,10 @@ namespace tools
|
|||||||
}
|
}
|
||||||
return r;
|
return r;
|
||||||
#else
|
#else
|
||||||
/* Only blocks SIGINT and SIGTERM */
|
/* Only blocks SIGINT, SIGTERM and SIGPIPE */
|
||||||
signal(SIGINT, posix_handler);
|
signal(SIGINT, posix_handler);
|
||||||
signal(SIGTERM, posix_handler);
|
signal(SIGTERM, posix_handler);
|
||||||
|
signal(SIGPIPE, SIG_IGN);
|
||||||
m_handler = t;
|
m_handler = t;
|
||||||
return true;
|
return true;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user