From f550015e921148a45f14a8ea6ac8fe1ade4907af Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Sun, 26 May 2024 17:15:35 -0400 Subject: docs/freebsd: update with notes on slirp-based networking --- vm/bhyve/bhyve.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm') diff --git a/vm/bhyve/bhyve.go b/vm/bhyve/bhyve.go index 1570b7939..e645ca191 100644 --- a/vm/bhyve/bhyve.go +++ b/vm/bhyve/bhyve.go @@ -333,7 +333,7 @@ func (inst *instance) Run(timeout time.Duration, stop <-chan bool, command strin } inst.merger.Add("ssh", rpipe) - sshargs := []string{} + var sshargs []string if inst.forwardPort != 0 { sshargs = vmimpl.SSHArgsForward(inst.debug, inst.sshkey, inst.port, inst.forwardPort, false) } else { -- cgit mrf-deployment