mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
Use double brackets for the test.
This commit is contained in:
parent
b7e2c8053b
commit
e9324f8316
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue