Use luci.fs.access instead of luci.fs.isfile where applicable
[project/luci.git] / applications / luci-qos / luasrc / controller / qos.lua
index 5a9ef5e..970dd3d 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 module("luci.controller.qos", package.seeall)
 
 function index()
-       if not luci.fs.isfile("/etc/config/qos") then
+       if not luci.fs.access("/etc/config/qos") then
                return
        end