Commit cf3ad9c6 authored by Michael Taufen's avatar Michael Taufen

Fix hash if statement

parent 3baab4dc
......@@ -129,7 +129,7 @@ function MustDownload-File {
continue
}
# Attempt to validate the hash
if ($Hash -ne $null) {
if ($Hash) {
Try {
Validate-SHA1 -Hash $Hash -Path $OutFile
} Catch {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment