mirror of
https://github.com/openwrt/routing.git
synced 2025-12-21 23:34:32 +04:00
Merge pull request #579 from pedro-nonfree/patch-3
luci-app-bmx6: fixes error line in logread #578
This commit is contained in:
@@ -101,7 +101,7 @@ fi
|
|||||||
|
|
||||||
if [ "$QUERY" == 'tunnels' ]; then
|
if [ "$QUERY" == 'tunnels' ]; then
|
||||||
tunnels=$(bmx6 -c --jshow tunnels /r=0)
|
tunnels=$(bmx6 -c --jshow tunnels /r=0)
|
||||||
if [ -z $tunnels ]; then
|
if [ -z "$tunnels" ]; then
|
||||||
echo '{ "tunnels" : [] }'
|
echo '{ "tunnels" : [] }'
|
||||||
else
|
else
|
||||||
echo $tunnels
|
echo $tunnels
|
||||||
|
|||||||
Reference in New Issue
Block a user