diff options
Diffstat (limited to 'applications/luci-hd_idle/luasrc')
-rw-r--r-- | applications/luci-hd_idle/luasrc/controller/hd_idle.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-hd_idle/luasrc/controller/hd_idle.lua b/applications/luci-hd_idle/luasrc/controller/hd_idle.lua index 45d102cc1e..5dfbe16ea0 100644 --- a/applications/luci-hd_idle/luasrc/controller/hd_idle.lua +++ b/applications/luci-hd_idle/luasrc/controller/hd_idle.lua @@ -18,7 +18,7 @@ module("luci.controller.hd_idle", package.seeall) function index() require("luci.i18n") luci.i18n.loadc("hd_idle") - if not luci.fs.isfile("/etc/config/hd-idle") then + if not luci.fs.access("/etc/config/hd-idle") then return end |