mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:16:16 +02:00
show md5sums on mismatch in download.pl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9367 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9b1dd0934c
commit
052222fc5f
@ -86,7 +86,7 @@ sub download
|
||||
$sum = $1;
|
||||
|
||||
if (($md5sum =~ /\w{32}/) and ($sum ne $md5sum)) {
|
||||
print STDERR "MD5 sum of the downloaded file does not match - deleting download.\n";
|
||||
print STDERR "MD5 sum of the downloaded file does not match (file: $sum, requested: $md5sum) - deleting download.\n";
|
||||
cleanup();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user