Merge pull request #579 from pedro-nonfree/patch-3

luci-app-bmx6: fixes error line in logread #578
This commit is contained in:
zorun 2020-06-15 21:53:19 +02:00 committed by GitHub
commit 272cd4c998
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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