summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm')
-rw-r--r--applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm b/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm
index d230109cc..e79e2f49f 100644
--- a/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm
+++ b/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm
@@ -23,7 +23,7 @@ and to transmit the data over the network to other collectd instances.%></p>
<p><%:stat_outputplugins_installed Installed output plugins:%>
<ul>
<% for plugin, desc in pairs(plugins) do %>
- <% if luci.fs.isfile("/usr/lib/collectd/" .. plugin .. ".so") then %>
+ <% if luci.fs.access("/usr/lib/collectd/" .. plugin .. ".so") then %>
<li><a href="<%=controller%>/admin/statistics/collectd/output/<%=plugin%>"><%=desc%></a></li>
<% end %>
<% end %>