From e834a54532e27f254ad5c4430eaffc42a2070039 Mon Sep 17 00:00:00 2001 From: Ronald G Minnich Date: Thu, 12 Dec 2024 13:00:12 -0800 Subject: [PATCH] For convenience, if nfs is enabled, ninep should be disabled We just hit this, for the first time, on a system that did not, and never would, have 9p. Signed-off-by: Ronald G Minnich --- cmds/cpu/cpu.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmds/cpu/cpu.go b/cmds/cpu/cpu.go index 9c7c1286..d501f8b6 100644 --- a/cmds/cpu/cpu.go +++ b/cmds/cpu/cpu.go @@ -305,6 +305,9 @@ func main() { if *port == "22" { *sshd = true } + if *srvnfs { + *ninep = false + } verbose("connecting to %q port %q", host, *port) if err := newCPU(host, a...); err != nil { e := 1