1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

Signed-off-by

This is my commit message

Signed-off-by: Gusher123 <t.siebeling@gmail.com>
This commit is contained in:
Gusher123 2018-08-12 10:05:58 +02:00 committed by GitHub
parent f3aee056ad
commit 2feb5f22cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;