scripts/download.pl: fix error message on hash mismatch

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2017-04-04 11:44:22 +02:00
parent 2526d150dc
commit 2fd1503378

View file

@ -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;
} }