luci-app-bmx6: fixes error line in logread #578
[feed/routing.git] / luci-app-bmx6 / bmx6 / www / cgi-bin / bmx6-info
index ceebbbb37264c941d1c761e6edbf5278bd9412b0..8f5555e59949b9abb7d365a3794c4026c6b62564 100755 (executable)
@@ -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