projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
625abbf
)
luci-base: dispatcher.lua: remove redundant check_fs_depends() call
author
Jo-Philipp Wich
<jo@mein.io>
Wed, 5 Feb 2020 16:42:58 +0000
(17:42 +0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Wed, 5 Feb 2020 16:42:58 +0000
(17:42 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/dispatcher.lua
patch
|
blob
|
history
diff --git
a/modules/luci-base/luasrc/dispatcher.lua
b/modules/luci-base/luasrc/dispatcher.lua
index 72884b72240b033bfd158f09cac68b395dd09f38..c227b68c858d00731a85010a9a5a8db7a5c7fa7b 100644
(file)
--- a/
modules/luci-base/luasrc/dispatcher.lua
+++ b/
modules/luci-base/luasrc/dispatcher.lua
@@
-139,7
+139,7
@@
local function check_depends(spec)
return true
end
- if type(spec.depends.fs) == "table"
and not check_fs_depends(spec.depends.fs)
then
+ if type(spec.depends.fs) == "table" then
local satisfied = false
local alternatives = (#spec.depends.fs > 0) and spec.depends.fs or { spec.depends.fs }
for _, alternative in ipairs(alternatives) do