support/download: fix check_one_hash description
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>
This commit is contained in:
parent
74c5081467
commit
f9a52fad7b
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user