ignore SIGPIPE

This commit is contained in:
nullifiedcat 2017-08-19 21:16:32 +03:00
parent 2987962280
commit 27e5dc315f

View File

@ -162,6 +162,7 @@ void hack::CC_Cat(const CCommand& args) {
}
void hack::Initialize() {
signal(SIGPIPE, SIG_IGN);
time_injected = time(nullptr);
// Essential files must always exist, except when the game is running in text mode.
#if ENABLE_VISUALS == 1