projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2526d15
)
scripts/download.pl: fix error message on hash mismatch
author
Felix Fietkau
<nbd@nbd.name>
Tue, 4 Apr 2017 09:44:22 +0000
(11:44 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Tue, 4 Apr 2017 10:33:37 +0000
(12:33 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
scripts/download.pl
patch
|
blob
|
history
diff --git
a/scripts/download.pl
b/scripts/download.pl
index 7eb7c7ebce311adb9a78728abb7fc4e7495ab4b9..3936f7659a600468bf530106120a586c16cc08fd 100755
(executable)
--- a/
scripts/download.pl
+++ b/
scripts/download.pl
@@
-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;
}