From 70ded13045e6b882859eeb0acb928eb8cacefd28 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 2 Jan 2009 21:33:10 +0000 Subject: Use luci.fs.access instead of luci.fs.isfile where applicable --- applications/luci-samba/luasrc/controller/samba.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-samba/luasrc/controller') diff --git a/applications/luci-samba/luasrc/controller/samba.lua b/applications/luci-samba/luasrc/controller/samba.lua index a698777c2e..75cb65a0b2 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") -- cgit v1.2.3