Print an error message if the FTL release metadata download fails

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
Mcat12 2019-07-19 17:35:21 -07:00
parent 37e7cd5211
commit 38ff343134
No known key found for this signature in database
GPG key ID: ABB8FC9789AF524D

View file

@ -2404,6 +2404,7 @@ FTLcheckUpdate() {
if ! FTLreleaseData=$(curl -sI https://github.com/pi-hole/FTL/releases/latest); then if ! FTLreleaseData=$(curl -sI https://github.com/pi-hole/FTL/releases/latest); then
# There was an issue while retrieving the latest version # There was an issue while retrieving the latest version
printf " %b Failed to retrieve latest FTL release metadata" "${CROSS}"
return 3 return 3
fi fi