projects
/
feed
/
routing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
luci-app-bmx6: fixes error line in logread #578
[feed/routing.git]
/
luci-app-bmx6
/
bmx6
/
www
/
cgi-bin
/
bmx6-info
diff --git
a/luci-app-bmx6/bmx6/www/cgi-bin/bmx6-info
b/luci-app-bmx6/bmx6/www/cgi-bin/bmx6-info
index ceebbbb37264c941d1c761e6edbf5278bd9412b0..8f5555e59949b9abb7d365a3794c4026c6b62564 100755
(executable)
--- 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