Skip to content

Commit

Permalink
Modify checksum fail message
Browse files Browse the repository at this point in the history
The scripts [computed checksum failure] message is changed to match to the Linux SHASUM failure output.
  • Loading branch information
Marc-Gee committed Mar 20, 2023
1 parent 431f169 commit bf82ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ Get-Content seedsigner.0.6.0.sha256 | ForEach-Object {
if ((Test-Path $filename) -eq $True) {
# check if the computed hash matches the expected hash
write-host $filename (':WARNING:This computed hash/checksum did NOT match!', 'is OK.')[((Get-FileHash $filename).hash -eq $hash)]
write-host $filename ('FAILED: Computed checksum did NOT match!', 'is OK.')[((Get-FileHash $filename).hash -eq $hash)]
}
}
```
Expand Down

0 comments on commit bf82ab7

Please sign in to comment.