Don't quote inside backticks, use unquoted variable.

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
pull/3186/head
Dan Schaper 4 years ago
parent 360d0e4e6b
commit bf4fada3b7
No known key found for this signature in database
GPG Key ID: B4FF14C01CC08DC0

@ -39,7 +39,7 @@ scanList(){
# If it does, print the matching regexp and continue looping
# Input 1 - regexps | Input 2 - domainQuery
"regex" )
for list in `echo "${lists}"`; do
for list in ${lists}; do
if [[ "${domain}" =~ ${list} ]]; then
printf "%b\n" "${list}";
fi

Loading…
Cancel
Save