mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Appease Jacob.
This commit is contained in:
parent
19b656132d
commit
4ec01769cb
1 changed files with 2 additions and 3 deletions
5
pihole
5
pihole
|
@ -75,12 +75,11 @@ function queryFunc {
|
|||
for list in /etc/pihole/list.*
|
||||
do
|
||||
count=$(grep ${domain} $list | wc -l)
|
||||
|
||||
echo "::: ${list} (${count} results)"
|
||||
if [[ ${count} > 0 ]]; then
|
||||
echo "::: ${list} (${count} results)"
|
||||
grep ${domain} ${list}
|
||||
echo ""
|
||||
fi
|
||||
echo ""
|
||||
done
|
||||
exit 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue