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})
if [ -n "$result" ]; then
echo "$result"
[ ! -t 1 ] && exit 0
[[ ! -t 1 ]] && exit 0
fi
# Scan Domains lists