From dfb4ac03653f6b83a168dcb1b0976535921b18de Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Wed, 2 Nov 2016 09:52:15 -0700 Subject: [PATCH] Keep .yml's from going to user local repos. --- .gitignore | 1 + pihole | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0e0d4b99..19b458d3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ *.swp __pycache__ .cache +*.yml diff --git a/pihole b/pihole index a1c03420..758aa660 100755 --- a/pihole +++ b/pihole @@ -62,7 +62,7 @@ setupLCDFunction() { } queryFunc() { - domain=$2 + domain="${2}" for list in /etc/pihole/list.*; do count=$(grep ${domain} $list | wc -l) echo "::: ${list} (${count} results)"