diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-02-05 17:42:58 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-02-05 17:42:58 +0100 |
commit | 08eea3f93e9f2e9a2940df2e3a7afbe04c40f4b6 (patch) | |
tree | 0904132a055ffe0797702ebd4423e66f2485a514 | |
parent | 625abbfdbe94dada023ebd8ea69778173d1a7351 (diff) |
luci-base: dispatcher.lua: remove redundant check_fs_depends() call
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | modules/luci-base/luasrc/dispatcher.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/dispatcher.lua b/modules/luci-base/luasrc/dispatcher.lua index 72884b7224..c227b68c85 100644 --- 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 |