mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-14 11:29:04 +00:00
Merge pull request #2256 from pi-hole/fix/query-lists-variable-substitution
Fix incorrect variable string substitution
This commit is contained in:
commit
f9b75e486c
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ fi
|
||||||
|
|
||||||
# Get adlist file content as array
|
# Get adlist file content as array
|
||||||
if [[ -n "${adlist}" ]] || [[ -n "${blockpage}" ]]; then
|
if [[ -n "${adlist}" ]] || [[ -n "${blockpage}" ]]; then
|
||||||
for adlistUrl in $(< "adListsList"); do
|
for adlistUrl in $(< "${adListsList}"); do
|
||||||
if [[ "${adlistUrl:0:4}" =~ (http|www.) ]]; then
|
if [[ "${adlistUrl:0:4}" =~ (http|www.) ]]; then
|
||||||
adlists+=("${adlistUrl}")
|
adlists+=("${adlistUrl}")
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue