From 2feb5f22cc3ac17b494da95c6808b3b3083e91d9 Mon Sep 17 00:00:00 2001 From: Gusher123 <31935813+Gusher123@users.noreply.github.com> Date: Sun, 12 Aug 2018 10:05:58 +0200 Subject: [PATCH] Signed-off-by This is my commit message Signed-off-by: Gusher123 --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index 2bd8d371..e5152fe5 100755 --- a/gravity.sh +++ b/gravity.sh @@ -243,7 +243,7 @@ gravity_DownloadBlocklistFromUrl() { fi;; esac - if [[ "${blocked}" = true ]]; then + if [[ "${blocked}" == true ]]; then ip=$(dig "@${CONDITIONAL_FORWARDING_IP}" +short "${domain}") if [[ $(echo "${url}" | awk -F '://' '{print $1}') = "https" ]]; then port=443;