summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base')
-rw-r--r--modules/luci-base/luasrc/dispatcher.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/luci-base/luasrc/dispatcher.lua b/modules/luci-base/luasrc/dispatcher.lua
index e286430765..d27af0755a 100644
--- a/modules/luci-base/luasrc/dispatcher.lua
+++ b/modules/luci-base/luasrc/dispatcher.lua
@@ -39,6 +39,10 @@ local function check_fs_depends(spec)
if fs.stat(path, "type") ~= "reg" then
return false
end
+ elseif kind == "absent" then
+ if fs.stat(path, "type") then
+ return false
+ end
end
end