luci-base: dispatcher.lua: remove redundant check_fs_depends() call

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2020-02-05 17:42:58 +01:00
parent 625abbfdbe
commit 08eea3f93e

View file

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