Bugfix if multiple interfaces are present
This commit is contained in:
parent
52d06d906e
commit
f599bcfef9
|
@ -236,7 +236,7 @@ chooseInterface() {
|
||||||
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 New Issue