X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fmountd%2Fmountd.c;h=953891df30f5deac6b8111f62242220d79672dde;hb=f908e13c2ff6101b590b9f9f328a1aa669452dd6;hp=3769c924d2d22a0e973e19a202d2d31833f40057;hpb=d38ea02d0e4bcdc4e0114567028596f7bcba45b9;p=nfs-utils.git 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);