summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ushare/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-ushare/luasrc')
-rw-r--r--applications/luci-ushare/luasrc/controller/ushare.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-ushare/luasrc/controller/ushare.lua b/applications/luci-ushare/luasrc/controller/ushare.lua
index 2fdea4e83..958f247d9 100644
--- a/applications/luci-ushare/luasrc/controller/ushare.lua
+++ b/applications/luci-ushare/luasrc/controller/ushare.lua
@@ -18,7 +18,7 @@ module("luci.controller.ushare", package.seeall)
function index()
require("luci.i18n")
luci.i18n.loadc("ushare")
- if not luci.fs.isfile("/etc/config/ushare") then
+ if not luci.fs.access("/etc/config/ushare") then
return
end