X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmountd%2Fmountd.c;h=d79bf150c6888b9cf64eed752acca85c286d4416;hp=1eeefdcf0ffa872211d177366717dd7f6f7bc00d;hb=5591654c71e7e2e5959c8718a7e880516b9081e8;hpb=764e46f5c5fe1a6e376f4cd350424f33afc9e838 diff --git a/utils/mountd/mountd.c b/utils/mountd/mountd.c index 1eeefdc..d79bf15 100644 --- a/utils/mountd/mountd.c +++ b/utils/mountd/mountd.c @@ -445,6 +445,8 @@ main(int argc, char **argv) sigaction(SIGHUP, &sa, NULL); sigaction(SIGINT, &sa, NULL); sigaction(SIGTERM, &sa, NULL); + /* WARNING: the following works on Linux and SysV, but not BSD! */ + sigaction(SIGCHLD, &sa, NULL); if (nfs_version & 0x1) rpc_init("mountd", MOUNTPROG, MOUNTVERS,