From c1480b39a9e993aaa74caabf6d5c8bb865b78784 Mon Sep 17 00:00:00 2001 From: Arthur Sengileyev Date: Tue, 16 Aug 2022 13:39:02 +0300 Subject: Improved Windows compatibility for machine command Signed-off-by: Arthur Sengileyev --- pkg/machine/wsl/machine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/machine/wsl/machine.go') 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) } -- cgit v1.2.3-54-g00ecf