diff options
-rw-r--r-- | modules/luci-base/ucode/dispatcher.uc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/luci-base/ucode/dispatcher.uc b/modules/luci-base/ucode/dispatcher.uc index 7ff8d49c12..50c1a7d0f2 100644 --- a/modules/luci-base/ucode/dispatcher.uc +++ b/modules/luci-base/ucode/dispatcher.uc @@ -183,6 +183,10 @@ function check_fs_depends(spec) { if (fstat?.type != 'file') return false; } + else if (kind == 'absent') { + if (stat(path) != null) + return false; + } } return true; |