mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Bash splitting and globin
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
parent
26c6446252
commit
0e4d5e9103
1 changed files with 2 additions and 2 deletions
|
@ -235,8 +235,8 @@ chooseInterface() {
|
||||||
# Loop sentinel variable
|
# Loop sentinel variable
|
||||||
local firstLoop=1
|
local firstLoop=1
|
||||||
|
|
||||||
if [[ $(echo ${availableInterfaces} | wc -l) -eq 1 ]]; then
|
if [[ $(echo "${availableInterfaces}" | wc -l) -eq 1 ]]; then
|
||||||
PIHOLE_INTERFACE=${availableInterfaces}
|
PIHOLE_INTERFACE="${availableInterfaces}"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue