Ignore SIGPIPE, instead of terminating process.

PR:		81230
Submitted by:	Dmitrij Tejblum <tejblum yandex-team ru>
MFC after:	1 month
This commit is contained in:
Craig Rodrigues 2006-11-18 22:43:20 +00:00
parent 77121031e7
commit 09fc9dc689
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164394

View file

@ -343,6 +343,7 @@ main(argc, argv)
}
signal(SIGHUP, huphandler);
signal(SIGTERM, terminate);
signal(SIGPIPE, SIG_IGN);
pidfile_write(pfh);