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

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 14 09:43:51 PST 2017


jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/977db9f08aac4f8f769e0a5bf6e6a188621f2ee4

commit 977db9f08aac4f8f769e0a5bf6e6a188621f2ee4
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue Apr 4 11:44:22 2017 +0200

    scripts/download.pl: fix error message on hash mismatch
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
    (cherry picked from commit 2fd15033783a9dfa84d2a43fb81ff222ab865407)
---
 scripts/download.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/download.pl b/scripts/download.pl
index 7eb7c7e..3936f76 100755
--- 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;
 		}



More information about the lede-commits mailing list