mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
Appease Jacob.
This commit is contained in:
parent
19b656132d
commit
4ec01769cb
5
pihole
5
pihole
@ -75,12 +75,11 @@ function queryFunc {
|
|||||||
for list in /etc/pihole/list.*
|
for list in /etc/pihole/list.*
|
||||||
do
|
do
|
||||||
count=$(grep ${domain} $list | wc -l)
|
count=$(grep ${domain} $list | wc -l)
|
||||||
|
|
||||||
if [[ ${count} > 0 ]]; then
|
|
||||||
echo "::: ${list} (${count} results)"
|
echo "::: ${list} (${count} results)"
|
||||||
|
if [[ ${count} > 0 ]]; then
|
||||||
grep ${domain} ${list}
|
grep ${domain} ${list}
|
||||||
echo ""
|
|
||||||
fi
|
fi
|
||||||
|
echo ""
|
||||||
done
|
done
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user