Browse Source

show md5sums on mismatch in download.pl

SVN-Revision: 9367
Felix Fietkau 18 years ago
parent
commit
9bfa0d1d08
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/download.pl

+ 1 - 1
scripts/download.pl

@@ -86,7 +86,7 @@ sub download
 	$sum = $1;
 	$sum = $1;
 	
 	
 	if (($md5sum =~ /\w{32}/) and ($sum ne $md5sum)) {
 	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();
 		cleanup();
 		return;
 		return;
 	}
 	}