Skip to content

Commit e834a54

Browse files
committed
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 <[email protected]>
1 parent 6c6144f commit e834a54

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmds/cpu/cpu.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,9 @@ func main() {
305305
if *port == "22" {
306306
*sshd = true
307307
}
308+
if *srvnfs {
309+
*ninep = false
310+
}
308311
verbose("connecting to %q port %q", host, *port)
309312
if err := newCPU(host, a...); err != nil {
310313
e := 1

0 commit comments

Comments
 (0)