luci-base: dispatcher.lua: remove redundant check_fs_depends() call
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
625abbfdbe
commit
08eea3f93e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue