MFC: 1.91
Ignore SIGPIPE, instead of terminating process. PR: 81230 Submitted by: Dmitrij Tejblum <tejblum yandex-team ru>
This commit is contained in:
parent
cd3185af43
commit
2c99ef01e6
@ -343,6 +343,7 @@ main(argc, argv)
|
||||
}
|
||||
signal(SIGHUP, huphandler);
|
||||
signal(SIGTERM, terminate);
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
pidfile_write(pfh);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user