Fix incorrect variable string substitution

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
pull/2256/head
Mcat12 6 years ago
parent 0ddfa8ad10
commit f868052062
No known key found for this signature in database
GPG Key ID: ABB8FC9789AF524D

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

Loading…
Cancel
Save