mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-05 05:15:12 +00:00
Revert to using == instead of =
This commit is contained in:
parent
6706a87e53
commit
6079105b2c
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ verify_signature() {
|
|||
verify_hash() {
|
||||
local file=$1 expected_hash=$2
|
||||
actual_hash=$(sha256sum $file | awk '{print $1}')
|
||||
if [ "$actual_hash" = "$expected_hash" ]; then
|
||||
if [ "$actual_hash" == "$expected_hash" ]; then
|
||||
return 0
|
||||
else
|
||||
echo "$file $actual_hash (unexpected hash)" >&2
|
||||
|
|
Loading…
Add table
Reference in a new issue