summaryrefslogtreecommitdiff
path: root/pkg/machine/wsl/machine.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-02 12:49:58 +0200
committerGitHub <noreply@github.com>2022-09-02 12:49:58 +0200
commit4cbc4774f149fa554f3cee3c47eb8794fce8d850 (patch)
treecaa50756d6786b29901013f745130daeaf4cfad5 /pkg/machine/wsl/machine.go
parent9ab6449e36792734853eb59161ccd3bfe5d0d509 (diff)
parentc1480b39a9e993aaa74caabf6d5c8bb865b78784 (diff)
downloadpodman-4cbc4774f149fa554f3cee3c47eb8794fce8d850.tar.gz
podman-4cbc4774f149fa554f3cee3c47eb8794fce8d850.tar.bz2
podman-4cbc4774f149fa554f3cee3c47eb8794fce8d850.zip
Merge pull request #15404 from arixmkii/win_compat2
Improved Windows compatibility for machine command
Diffstat (limited to 'pkg/machine/wsl/machine.go')
-rw-r--r--pkg/machine/wsl/machine.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/machine/wsl/machine.go b/pkg/machine/wsl/machine.go
index 8f6ef7a43..b89e2f720 100644
--- a/pkg/machine/wsl/machine.go
+++ b/pkg/machine/wsl/machine.go
@@ -1063,7 +1063,7 @@ func launchWinProxy(v *MachineVM) (bool, string, error) {
}
return globalName, pipePrefix + waitPipe, waitPipeExists(waitPipe, 30, func() error {
- active, exitCode := getProcessState(cmd.Process.Pid)
+ active, exitCode := machine.GetProcessState(cmd.Process.Pid)
if !active {
return fmt.Errorf("win-sshproxy.exe failed to start, exit code: %d (see windows event logs)", exitCode)
}