diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-03 12:51:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-03 12:51:20 +0200 |
commit | af58cb15d2aa46609fc7231647af09f808ba6c1c (patch) | |
tree | df43517654ffcdc14336981717772af9ade5b9d8 /pkg/machine | |
parent | 0f49678746c27a64bd9a8bb023a77624190685b0 (diff) | |
parent | 90998176d9e8cf38453f1d9d420ca5628abbb140 (diff) | |
download | podman-af58cb15d2aa46609fc7231647af09f808ba6c1c.tar.gz podman-af58cb15d2aa46609fc7231647af09f808ba6c1c.tar.bz2 podman-af58cb15d2aa46609fc7231647af09f808ba6c1c.zip |
Merge pull request #11428 from guillaumerose/missingcheck
machine: always check error of net.Dial, even after last try
Diffstat (limited to 'pkg/machine')
-rw-r--r-- | pkg/machine/qemu/machine.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/machine/qemu/machine.go b/pkg/machine/qemu/machine.go index 38a16c3ef..dc7703724 100644 --- a/pkg/machine/qemu/machine.go +++ b/pkg/machine/qemu/machine.go @@ -278,6 +278,9 @@ func (v *MachineVM) Start(name string, _ machine.StartOptions) error { time.Sleep(wait) wait++ } + if err != nil { + return err + } fd, err := qemuSocketConn.(*net.UnixConn).File() if err != nil { |