diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2024-05-26 17:15:35 -0400 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-05-27 17:01:28 +0000 |
| commit | f550015e921148a45f14a8ea6ac8fe1ade4907af (patch) | |
| tree | 29bd13ac72724d1467a48cc03d7d9b35557a0234 /vm | |
| parent | f486078ac5d3eca51b34d2fdedeeba2a729f6296 (diff) | |
docs/freebsd: update with notes on slirp-based networking
Diffstat (limited to 'vm')
| -rw-r--r-- | vm/bhyve/bhyve.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
