mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
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
|
fi
|
||||||
|
|
||||||
# Check one hash for a file
|
# Check one hash for a file
|
||||||
# $1: known hash
|
# $1: algo hash
|
||||||
# $2: file (full path)
|
# $2: known hash
|
||||||
|
# $3: file (full path)
|
||||||
check_one_hash() {
|
check_one_hash() {
|
||||||
_h="${1}"
|
_h="${1}"
|
||||||
_known="${2}"
|
_known="${2}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user