mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-05 22:20:51 +00:00
scripts/download.pl: fix error message on hash mismatch
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 2fd1503378
)
This commit is contained in:
parent
7fb03d9610
commit
977db9f08a
@ -166,7 +166,7 @@ sub download
|
||||
$sum = $1;
|
||||
|
||||
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();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user