Start counting at postion 1

Signed-off-by: Christian König <ckoenig@posteo.de>
Christian König 1 year ago
parent a5d10a6256
commit 8312eb13c0
No known key found for this signature in database

@ -31,7 +31,7 @@ function get_remote_version() {
function get_remote_hash(){
git ls-remote "https://github.com/pi-hole/${1}" --tags "${2}" | awk '{print substr($0, 0,8);}' || return 1
git ls-remote "https://github.com/pi-hole/${1}" --tags "${2}" | awk '{print substr($0, 1,8);}' || return 1
}
# Source the setupvars config file

Loading…
Cancel
Save