Skip to content

Commit

Permalink
For convenience, if nfs is enabled, ninep should be disabled
Browse files Browse the repository at this point in the history
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 <rminnich@gmail.com>
  • Loading branch information
rminnich committed Dec 13, 2024
1 parent 6c6144f commit e834a54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmds/cpu/cpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e834a54

Please sign in to comment.