fix: running check error when podman is default in wsl
If podman is the default wsl distribution, the (default) string is appended and result is assigned false.
[NO NEW TESTS NEEDED]
Fixes
@@ -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
