mirror of
https://github.com/containers/podman.git
synced 2025-10-14 09:45:59 +08:00
Take path for wsl instead of forcing through WindowsApps
Signed-off-by: Matheus Cunha <matheusvflor@hotmail.com>
This commit is contained in:

committed by
Matheus Cunha

parent
ebbf90decc
commit
b6eeaea7f3
@ -48,7 +48,7 @@ func installWslKernel() error {
|
||||
)
|
||||
backoff := 500 * time.Millisecond
|
||||
for i := 1; i < 6; i++ {
|
||||
err = wutil.SilentExec(wutil.FindWSL(), "--update")
|
||||
err = wutil.SilentExec("wsl", "--update")
|
||||
if err == nil {
|
||||
break
|
||||
}
|
||||
|
Reference in New Issue
Block a user