Merge pull request #2256 from pi-hole/fix/query-lists-variable-substitution

Fix incorrect variable string substitution
This commit is contained in:
Mark Drobnak 2018-06-30 15:56:22 -04:00 committed by GitHub
commit f9b75e486c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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