diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2006-11-18 22:43:20 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2006-11-18 22:43:20 +0000 |
commit | 7a2a030c15e461af3927da3010f9e748368094a7 (patch) | |
tree | a99cf34902e82a63848e899b76ef183fe45339a9 /usr.sbin/mountd | |
parent | a76d88c55cb8b38c525303578fcbb54228090878 (diff) | |
download | FreeBSD-src-7a2a030c15e461af3927da3010f9e748368094a7.zip FreeBSD-src-7a2a030c15e461af3927da3010f9e748368094a7.tar.gz |
Ignore SIGPIPE, instead of terminating process.
PR: 81230
Submitted by: Dmitrij Tejblum <tejblum yandex-team ru>
MFC after: 1 month
Diffstat (limited to 'usr.sbin/mountd')
-rw-r--r-- | usr.sbin/mountd/mountd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c index 4556f4e..d11d538 100644 --- a/usr.sbin/mountd/mountd.c +++ b/usr.sbin/mountd/mountd.c @@ -343,6 +343,7 @@ main(argc, argv) } signal(SIGHUP, huphandler); signal(SIGTERM, terminate); + signal(SIGPIPE, SIG_IGN); pidfile_write(pfh); |