From 0f977a94ecfd028d50eb2f05748a43c01ac65bd2 Mon Sep 17 00:00:00 2001 From: SunBK201 Date: Sat, 30 Dec 2023 01:31:17 +0800 Subject: [PATCH] fix(luci): running status --- luci/cbi.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luci/cbi.lua b/luci/cbi.lua index 557954a..2e64161 100644 --- a/luci/cbi.lua +++ b/luci/cbi.lua @@ -18,9 +18,9 @@ status.rawhtml = true status.cfgvalue = function(self, section) local pid = luci.sys.exec("pidof ua3f") if pid == "" then - return "" .. translate("Running") .. "" - else return "" .. translate("Stopped") .. "" + else + return "" .. translate("Running") .. "" end end