Skip to content

Commit

Permalink
Merge pull request #17256 from openshift-cherrypick-robot/cherry-pick…
Browse files Browse the repository at this point in the history
…-17228-to-v4.4

[v4.4] fix: running check error when podman is default in wsl
  • Loading branch information
openshift-merge-robot authored Jan 29, 2023
2 parents 5043324 + 92bae97 commit e470053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/machine/wsl/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ func IsWSLFeatureEnabled() bool {
}

func isWSLRunning(dist string) (bool, error) {
cmd := exec.Command("wsl", "-l", "--running")
cmd := exec.Command("wsl", "-l", "--running", "--quiet")
out, err := cmd.StdoutPipe()
if err != nil {
return false, err
Expand Down

0 comments on commit e470053

Please sign in to comment.