Appease Jacob.

This commit is contained in:
Promofaux 2016-09-06 19:21:56 +01:00
parent 19b656132d
commit 4ec01769cb

5
pihole
View file

@ -75,12 +75,11 @@ function queryFunc {
for list in /etc/pihole/list.*
do
count=$(grep ${domain} $list | wc -l)
if [[ ${count} > 0 ]]; then
echo "::: ${list} (${count} results)"
if [[ ${count} > 0 ]]; then
grep ${domain} ${list}
echo ""
fi
echo ""
done
exit 1
}