projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
258c3c5
)
luci-app-bmx6: return if json problem detected
author
Pau Escrich
<p4u@dabax.net>
Tue, 16 Feb 2016 18:23:07 +0000
(19:23 +0100)
committer
Pau Escrich
<p4u@dabax.net>
Tue, 16 Feb 2016 18:23:07 +0000
(19:23 +0100)
Signed-off-by: Bob Ham <rah@settrans.net>
luci-app-bmx6/files/usr/lib/lua/luci/model/cbi/bmx6/main.lua
patch
|
blob
|
history
diff --git
a/luci-app-bmx6/files/usr/lib/lua/luci/model/cbi/bmx6/main.lua
b/luci-app-bmx6/files/usr/lib/lua/luci/model/cbi/bmx6/main.lua
index d4e0745aa668058e2976ac669e132455eb5ebe6a..8ff35202f5f9536f0f28b42226f82b312f6cc182 100644
(file)
--- a/
luci-app-bmx6/files/usr/lib/lua/luci/model/cbi/bmx6/main.lua
+++ b/
luci-app-bmx6/files/usr/lib/lua/luci/model/cbi/bmx6/main.lua
@@
-27,7
+27,8
@@
m = Map("bmx6", "bmx6")
-- Getting json and Checking if bmx6-json is avaiable
local options = bmx6json.get("options")
if options == nil or options.OPTIONS == nil then
- m.message = "bmx6-json plugin is not running or some mistake in luci-bmx6 configuration, check /etc/config/luci-bmx6"
+ m.message = "bmx6-json plugin is not running or some mistake in luci-bmx6 configuration, check /etc/config/luci-bmx6"
+ return m
else
options = options.OPTIONS
end