diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index 44b525ee..a9e50290 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -74,7 +74,7 @@ $null = New-Module { continue; } - if (-not (& { wsl --status; $?; })) { + if (-not (& { $null = wsl --status; $?; })) { wsl --install --no-launch; Restart-Intermediate; return;