mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-15 20:09:05 +00:00
Space/Tab query.sh
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
parent
a08ea28feb
commit
8f727c1f35
1 changed files with 126 additions and 126 deletions
|
@ -110,7 +110,7 @@ fi
|
||||||
# Scan Whitelist and Blacklist
|
# Scan Whitelist and Blacklist
|
||||||
lists="whitelist.txt blacklist.txt"
|
lists="whitelist.txt blacklist.txt"
|
||||||
mapfile -t results <<< "$(scanList "${domainQuery}" "${lists}" "${exact}")"
|
mapfile -t results <<< "$(scanList "${domainQuery}" "${lists}" "${exact}")"
|
||||||
if [[ -n "${results[*]}" ]]; then
|
if [[ -n "${results[*]}" ]]; then
|
||||||
wbMatch=true
|
wbMatch=true
|
||||||
# Loop through each result in order to print unique file title once
|
# Loop through each result in order to print unique file title once
|
||||||
for result in "${results[@]}"; do
|
for result in "${results[@]}"; do
|
||||||
|
|
Loading…
Add table
Reference in a new issue