Fix malfunctioning download checker
This commit is contained in:
parent
4eb23fee10
commit
06dd879887
1 changed files with 2 additions and 1 deletions
|
@ -40,12 +40,13 @@ function Start-AutomatedDownload() {
|
|||
$stream.Close();
|
||||
}
|
||||
|
||||
return $false;
|
||||
}
|
||||
catch {
|
||||
return $true;
|
||||
}
|
||||
}
|
||||
|
||||
return $false;
|
||||
} else {
|
||||
return $true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue