aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mountd
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2006-11-18 22:43:20 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2006-11-18 22:43:20 +0000
commit09fc9dc689e0ad086cab9594570fc10ae0ff0f3c (patch)
treea99cf34902e82a63848e899b76ef183fe45339a9 /usr.sbin/mountd
parent77121031e7f99905d3d52a9cf6ced0de6d555957 (diff)
Ignore SIGPIPE, instead of terminating process.
PR: 81230 Submitted by: Dmitrij Tejblum <tejblum yandex-team ru> MFC after: 1 month
Notes
Notes: svn path=/head/; revision=164394
Diffstat (limited to 'usr.sbin/mountd')
-rw-r--r--usr.sbin/mountd/mountd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c
index 4556f4e0f168..d11d53861ea0 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);