1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-18 14:18:15 +00:00

Merge pull request #2882 from pi-hole/fix/FTL-latest-tag-not-found

Fix error when getting latest FTL tag
This commit is contained in:
Dan Schaper 2019-08-21 15:31:04 -07:00 committed by GitHub
commit 1c50caa8ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2391,7 +2391,7 @@ FTLcheckUpdate() {
return 3
fi
FTLlatesttag=$(grep 'Location' < "${FTLreleaseData}" | awk -F '/' '{print $NF}' | tr -d '\r\n')
FTLlatesttag=$(grep 'Location' <<< "${FTLreleaseData}" | awk -F '/' '{print $NF}' | tr -d '\r\n')
if [[ "${FTLversion}" != "${FTLlatesttag}" ]]; then
return 0