diff --git a/luci-app-bmx6/bmx6/www/cgi-bin/bmx6-info b/luci-app-bmx6/bmx6/www/cgi-bin/bmx6-info index ceebbbb..8f5555e 100755 --- a/luci-app-bmx6/bmx6/www/cgi-bin/bmx6-info +++ b/luci-app-bmx6/bmx6/www/cgi-bin/bmx6-info @@ -101,7 +101,7 @@ fi if [ "$QUERY" == 'tunnels' ]; then tunnels=$(bmx6 -c --jshow tunnels /r=0) - if [ -z $tunnels ]; then + if [ -z "$tunnels" ]; then echo '{ "tunnels" : [] }' else echo $tunnels