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

LEDE Commits lede-commits at lists.infradead.org
Tue Apr 4 03:34:54 PDT 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/2fd15033783a9dfa84d2a43fb81ff222ab865407

commit 2fd15033783a9dfa84d2a43fb81ff222ab865407
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>
---
 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