If we can't find or load the kernel NLM support, don't just go ahead and
try to use it anyway.
This commit is contained in:
parent
d4f2098b47
commit
3cba562fb9
@ -178,8 +178,9 @@ main(int argc, char **argv)
|
||||
if (modfind("nfslockd") < 0) {
|
||||
if (kldload("nfslockd") < 0) {
|
||||
fprintf(stderr, "Can't find or load kernel support for rpc.lockd - using non-kernel implementation\n");
|
||||
} else {
|
||||
kernel_lockd = TRUE;
|
||||
}
|
||||
kernel_lockd = TRUE;
|
||||
} else {
|
||||
kernel_lockd = TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user