From 2d3906450ae2bf7ec0c4638bd0f6284a4d08c9ec Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Mon, 18 Dec 2017 20:14:53 +0000 Subject: [PATCH] add back in str local var, and change ticks to info on whitelist lines Signed-off-by: Adam Warner --- gravity.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gravity.sh b/gravity.sh index 299acdb5..40debd61 100755 --- a/gravity.sh +++ b/gravity.sh @@ -419,7 +419,7 @@ gravity_Filter() { # Whitelist unique blocklist domain sources gravity_WhitelistBLD() { - local uniqDomains + local uniqDomains str echo "" @@ -432,7 +432,7 @@ gravity_WhitelistBLD() { # Whitelist $uniqDomains "${PIHOLE_COMMAND}" -w -nr -q ${uniqDomains[*]} &> /dev/null - echo -e "${OVER} ${TICK} ${str}" + echo -e "${OVER} ${INFO} ${str}" } # Whitelist user-defined domains @@ -451,7 +451,7 @@ gravity_Whitelist() { # Print everything from preEventHorizon into whitelistMatter EXCEPT domains in $whitelistFile grep -F -x -v -f "${whitelistFile}" "${piholeDir}/${preEventHorizon}" > "${piholeDir}/${whitelistMatter}" - echo -e "${OVER} ${TICK} ${str}" + echo -e "${OVER} ${INFO} ${str}" } # Output count of blacklisted domains and wildcards