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