1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

Wrap in double brackets

This commit is contained in:
WaLLy3K 2017-05-11 20:21:23 +10:00 committed by GitHub
parent 58353e2839
commit c35c7b2cea

2
pihole
View File

@ -111,7 +111,7 @@ queryFunc() {
result=$(scanList ${domain} "${lists}" ${method}) result=$(scanList ${domain} "${lists}" ${method})
if [ -n "$result" ]; then if [ -n "$result" ]; then
echo "$result" echo "$result"
[ ! -t 1 ] && exit 0 [[ ! -t 1 ]] && exit 0
fi fi
# Scan Domains lists # Scan Domains lists