From 9eabb10e4141fa2aac2da6523deb8efe83b14d46 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 3 Dec 2024 17:12:37 +0800 Subject: [PATCH] Update index.py --- plugins/xui/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/xui/index.py b/plugins/xui/index.py index 15e476d70..1feba1110 100755 --- a/plugins/xui/index.py +++ b/plugins/xui/index.py @@ -62,7 +62,7 @@ def getArgs(): return tmp def status(): - cmd = "ps -ef|grep mtproxy| grep mtg |grep -v grep | grep -v python | awk '{print $2}'" + cmd = "ps -ef|grep x-ui |grep -v grep | grep -v python | awk '{print $2}'" data = mw.execShell(cmd) if data[0] == '': return 'stop'