1
0
mirror of https://github.com/moparisthebest/pi-hole synced 2024-11-29 04:22:20 -05:00

Use double brackets for the test.

This commit is contained in:
rmceoin 2015-06-19 17:54:12 -07:00
parent b7e2c8053b
commit e9324f8316

View File

@ -19,7 +19,7 @@ sources=('https://adaway.org/hosts.txt'
adList=/etc/hosts adList=/etc/hosts
origin=/etc/pihole origin=/etc/pihole
piholeDir=/etc/pihole piholeDir=/etc/pihole
if [ -f $piholeDir/pihole.conf ]; then if [[ -f $piholeDir/pihole.conf ]]; then
. $piholeDir/pihole.conf . $piholeDir/pihole.conf
fi fi