Update to use new Var name

This commit is contained in:
Promofaux 2016-11-02 21:46:30 +00:00
parent f8e9726922
commit d7d6d6f991

View file

@ -22,7 +22,7 @@ today=$(date "+%b %e")
CalcBlockedDomains() {
if [ -e "${gravity}" ]; then
#Are we IPV6 or IPV4?
if [[ -n "${IPv6_address}" ]]; then
if [[ -n "${IPV6_ADDRESS}" ]]; then
#We are IPV6
blockedDomainsTotal=$(wc -l /etc/pihole/gravity.list | awk '{print $1/2}')
else