1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-19 14:48:13 +00:00

Merge pull request #1116 from pi-hole/fix/multi_interface

Fix/multi interface
This commit is contained in:
Mcat12 2017-01-08 17:57:29 -05:00 committed by GitHub
commit a713cf7952

View File

@ -235,8 +235,8 @@ chooseInterface() {
# Loop sentinel variable
local firstLoop=1
if [[ $(echo ${availableInterfaces} | wc -l) -eq 1 ]]; then
PIHOLE_INTERFACE=${availableInterfaces}
if [[ $(echo "${availableInterfaces}" | wc -l) -eq 1 ]]; then
PIHOLE_INTERFACE="${availableInterfaces}"
return
fi