From e9324f8316e3d3cfd6f67eceae846e9c82550f72 Mon Sep 17 00:00:00 2001 From: rmceoin Date: Fri, 19 Jun 2015 17:54:12 -0700 Subject: [PATCH] Use double brackets for the test. --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index 2f8993e4..11b4a217 100755 --- a/gravity.sh +++ b/gravity.sh @@ -19,7 +19,7 @@ sources=('https://adaway.org/hosts.txt' adList=/etc/hosts origin=/etc/pihole piholeDir=/etc/pihole -if [ -f $piholeDir/pihole.conf ]; then +if [[ -f $piholeDir/pihole.conf ]]; then . $piholeDir/pihole.conf fi