Fix incorrect variable string substitution

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
Mcat12 2018-06-30 15:50:43 -04:00
parent 0ddfa8ad10
commit f868052062
No known key found for this signature in database
GPG key ID: ABB8FC9789AF524D

View file

@ -169,7 +169,7 @@ fi
# Get adlist file content as array
if [[ -n "${adlist}" ]] || [[ -n "${blockpage}" ]]; then
for adlistUrl in $(< "adListsList"); do
for adlistUrl in $(< "${adListsList}"); do
if [[ "${adlistUrl:0:4}" =~ (http|www.) ]]; then
adlists+=("${adlistUrl}")
fi