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:
parent
58353e2839
commit
c35c7b2cea
2
pihole
2
pihole
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user