scripts/download.pl: fix error message on hash mismatch
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
2526d150dc
commit
2fd1503378
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ sub download
|
||||||
$sum = $1;
|
$sum = $1;
|
||||||
|
|
||||||
if ($sum ne $file_hash) {
|
if ($sum ne $file_hash) {
|
||||||
print STDERR "MD5 sum of the downloaded file does not match (file: $sum, requested: $file_hash) - deleting download.\n";
|
print STDERR "Hash of the downloaded file does not match (file: $sum, requested: $file_hash) - deleting download.\n";
|
||||||
cleanup();
|
cleanup();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue