diff options
Diffstat (limited to 'applications/luci-ntpc/luasrc/controller/ntpc.lua')
-rw-r--r-- | applications/luci-ntpc/luasrc/controller/ntpc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-ntpc/luasrc/controller/ntpc.lua b/applications/luci-ntpc/luasrc/controller/ntpc.lua index 8fa690f66..929064468 100644 --- a/applications/luci-ntpc/luasrc/controller/ntpc.lua +++ b/applications/luci-ntpc/luasrc/controller/ntpc.lua @@ -17,7 +17,7 @@ module("luci.controller.ntpc", package.seeall) function index() require("luci.i18n") luci.i18n.loadc("ntpc") - if not luci.fs.isfile("/etc/config/ntpclient") then + if not luci.fs.access("/etc/config/ntpclient") then return end |