diff --git a/scripts/prepare-machine.ps1 b/scripts/prepare-machine.ps1 index 8b5eb8810a..335cd78d07 100644 --- a/scripts/prepare-machine.ps1 +++ b/scripts/prepare-machine.ps1 @@ -462,6 +462,7 @@ function Install-DotnetTool { function Install-Dotnet { if (!$IsLinux) { Write-Host "Linux only" + return } Write-Host "Installing dotnet"