diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index 44b525ee3..a9e502908 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;