Keep .yml's from going to user local repos.

This commit is contained in:
Dan Schaper 2016-11-02 09:52:15 -07:00
parent f2d7a3d26d
commit dfb4ac0365
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@
*.swp *.swp
__pycache__ __pycache__
.cache .cache
*.yml

2
pihole
View file

@ -62,7 +62,7 @@ setupLCDFunction() {
} }
queryFunc() { queryFunc() {
domain=$2 domain="${2}"
for list in /etc/pihole/list.*; do for list in /etc/pihole/list.*; do
count=$(grep ${domain} $list | wc -l) count=$(grep ${domain} $list | wc -l)
echo "::: ${list} (${count} results)" echo "::: ${list} (${count} results)"