From f7d0de53bb6ac7e1e9c6e27f8a4c05b1c906514d Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Wed, 2 Nov 2016 12:11:34 -0700 Subject: [PATCH] Compare string to string. --- advanced/Scripts/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Scripts/update.sh b/advanced/Scripts/update.sh index 008f257f..556270b2 100644 --- a/advanced/Scripts/update.sh +++ b/advanced/Scripts/update.sh @@ -95,7 +95,7 @@ main() { web_version_current="$(/usr/local/bin/pihole version --admin --current)" web_version_latest="$(/usr/local/bin/pihole version --admin --latest)" - if [[ "${pihole_version_latest}" -eq "-1" || "${web_version_latest}" -eq -1 ]]; then + if [[ "${pihole_version_latest}" -eq "-1" || "${web_version_latest}" -eq "-1" ]]; then echo "*** Unable to contact GitHub for latest version. Please try again later, contact support if this continues." exit 1 fi