mirror of
https://github.com/pi-hole/pi-hole
synced 2025-06-30 12:22:33 +00:00
Don't quote inside backticks, use unquoted variable.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
parent
360d0e4e6b
commit
bf4fada3b7
@ -39,7 +39,7 @@ scanList(){
|
|||||||
# If it does, print the matching regexp and continue looping
|
# If it does, print the matching regexp and continue looping
|
||||||
# Input 1 - regexps | Input 2 - domainQuery
|
# Input 1 - regexps | Input 2 - domainQuery
|
||||||
"regex" )
|
"regex" )
|
||||||
for list in `echo "${lists}"`; do
|
for list in ${lists}; do
|
||||||
if [[ "${domain}" =~ ${list} ]]; then
|
if [[ "${domain}" =~ ${list} ]]; then
|
||||||
printf "%b\n" "${list}";
|
printf "%b\n" "${list}";
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user