From 831a8cb13de8969518c3c541c319626012649e91 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 15 Jan 2015 15:06:03 +0100 Subject: [PATCH] luci-app-multiwan: switch to nixio.fs Signed-off-by: Jo-Philipp Wich --- applications/luci-app-multiwan/luasrc/controller/multiwan.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/luci-app-multiwan/luasrc/controller/multiwan.lua b/applications/luci-app-multiwan/luasrc/controller/multiwan.lua index b596ef7e34..523ac21200 100644 --- a/applications/luci-app-multiwan/luasrc/controller/multiwan.lua +++ b/applications/luci-app-multiwan/luasrc/controller/multiwan.lua @@ -1,7 +1,7 @@ module("luci.controller.multiwan", package.seeall) function index() - local fs = luci.fs or nixio.fs + local fs = require "nixio.fs" if not fs.access("/etc/config/multiwan") then return end -- 2.30.2