Add missing local to snapshot.sh

This commit is contained in:
Gabriel Simmer 2024-08-03 21:40:29 +01:00
parent 3c5262367e
commit 01de1168b6
Signed by: arch
SSH key fingerprint: SHA256:m3OEcdtrnBpMX+2BDGh/byv3hrCekCLzDYMdvGEKPPQ

View file

@ -16,7 +16,7 @@ snapshot() {
}
hash() {
checksum=$(md5sum "$1" | awk '{print $1}')
local checksum=$(md5sum "$1" | awk '{print $1}')
echo "$checksum"
}