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