From 3aaa78b817ca96d98170e1559c4b6bbefde57b90 Mon Sep 17 00:00:00 2001 From: actions-user Date: Thu, 10 Oct 2024 04:13:52 +0800 Subject: [PATCH] update 2024-10-10 04:13:52 --- luci-app-mosdns/luasrc/controller/mosdns.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-mosdns/luasrc/controller/mosdns.lua b/luci-app-mosdns/luasrc/controller/mosdns.lua index 60840fbb..a45b78a7 100644 --- a/luci-app-mosdns/luasrc/controller/mosdns.lua +++ b/luci-app-mosdns/luasrc/controller/mosdns.lua @@ -25,7 +25,7 @@ end function act_status() local e = {} - e.running = sys.call("pgrep -f mosdns >/dev/null") == 0 + e.running = sys.call("pgrep -f /usr/bin/mosdns >/dev/null") == 0 http.prepare_content("application/json") http.write_json(e) end