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();
|
$stream.Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
return $false;
|
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
return $true;
|
return $true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $false;
|
||||||
} else {
|
} else {
|
||||||
return $true;
|
return $true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue