mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Fix hash if statement
This commit is contained in:
parent
3baab4dc35
commit
cf3ad9c655
@ -129,7 +129,7 @@ function MustDownload-File {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
# Attempt to validate the hash
|
# Attempt to validate the hash
|
||||||
if ($Hash -ne $null) {
|
if ($Hash) {
|
||||||
Try {
|
Try {
|
||||||
Validate-SHA1 -Hash $Hash -Path $OutFile
|
Validate-SHA1 -Hash $Hash -Path $OutFile
|
||||||
} Catch {
|
} Catch {
|
||||||
|
Loading…
Reference in New Issue
Block a user