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-p910nd
/
luasrc
/
controller
/
p910nd.lua
diff --git
a/applications/luci-p910nd/luasrc/controller/p910nd.lua
b/applications/luci-p910nd/luasrc/controller/p910nd.lua
index 8cc0e7197af07bcf452c494efb2ab1e2de451753..75b2693d40fbe8c299392de6b69dd3c5edc5d4cf 100644
(file)
--- a/
applications/luci-p910nd/luasrc/controller/p910nd.lua
+++ b/
applications/luci-p910nd/luasrc/controller/p910nd.lua
@@
-18,7
+18,7
@@
module("luci.controller.p910nd", package.seeall)
function index()
require("luci.i18n")
luci.i18n.loadc("p910nd")
- if not luci.fs.
isfile
("/etc/config/p910nd") then
+ if not luci.fs.
access
("/etc/config/p910nd") then
return
end