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)"