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