diff --git a/scripts/Windows/Scripts/BrowserAutomation.ps1 b/scripts/Windows/Scripts/BrowserAutomation.ps1 index 3a6558f6..1bf44ecf 100644 --- a/scripts/Windows/Scripts/BrowserAutomation.ps1 +++ b/scripts/Windows/Scripts/BrowserAutomation.ps1 @@ -40,12 +40,13 @@ function Start-AutomatedDownload() { $stream.Close(); } - return $false; } catch { return $true; } } + + return $false; } else { return $true; }