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