X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmountd%2Fmountd.c;h=953891df30f5deac6b8111f62242220d79672dde;hp=3769c924d2d22a0e973e19a202d2d31833f40057;hb=0f41eb8945d8116d69297dbd0aa748c02d580d36;hpb=182d7d59b5a9fdd43e74053ba779306eb7606b34 diff --git a/utils/mountd/mountd.c b/utils/mountd/mountd.c index 3769c92..953891d 100644 --- a/utils/mountd/mountd.c +++ b/utils/mountd/mountd.c @@ -520,6 +520,7 @@ main(int argc, char **argv) sigaction(SIGHUP, &sa, NULL); sigaction(SIGINT, &sa, NULL); sigaction(SIGTERM, &sa, NULL); + sigaction(SIGPIPE, &sa, NULL); /* WARNING: the following works on Linux and SysV, but not BSD! */ sigaction(SIGCHLD, &sa, NULL);