support/download: fix check_one_hash description
authorGaël PORTAY <gael.portay@savoirfairelinux.com>
Mon, 11 Sep 2017 19:32:32 +0000 (15:32 -0400)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 19 Sep 2017 20:11:30 +0000 (22:11 +0200)
Function check_one_hash takes three arguments:
 - algo hash
 - known hash
 - file to hash

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
support/download/check-hash

index c1ff53c02b5cf2253b248896380084bdffe5a21f..fe9c10570efee7c172108efeadeaad56294f03f2 100755 (executable)
@@ -42,8 +42,9 @@ if [ ! -f "${h_file}" ]; then
 fi
 
 # Check one hash for a file
-# $1: known hash
-# $2: file (full path)
+# $1: algo hash
+# $2: known hash
+# $3: file (full path)
 check_one_hash() {
     _h="${1}"
     _known="${2}"