projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use luci.fs.access instead of luci.fs.isfile where applicable
[project/luci.git]
/
applications
/
luci-ntpc
/
luasrc
/
controller
/
ntpc.lua
diff --git
a/applications/luci-ntpc/luasrc/controller/ntpc.lua
b/applications/luci-ntpc/luasrc/controller/ntpc.lua
index 8fa690f664a896192c3913ef637e0b8bc25f9026..92906446802b9abf56dd459fc3d0e4e652296955 100644
(file)
--- 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