X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=luci-app-bmx6%2Ffiles%2Fusr%2Flib%2Flua%2Fluci%2Fmodel%2Fcbi%2Fbmx6%2Fmain.lua;h=8ff35202f5f9536f0f28b42226f82b312f6cc182;hb=93fdb120de99369efa99ad99a1b8ff255c541eaa;hp=d4e0745aa668058e2976ac669e132455eb5ebe6a;hpb=258c3c57786787f00517118bd11ed64a91f47e36;p=lede-routing%2F.git 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 d4e0745..8ff3520 100644 --- 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