Update index.py

This commit is contained in:
midoks
2023-06-28 01:57:06 +08:00
parent 5444fe6455
commit 98f27498b0
+1 -1
View File
@@ -99,7 +99,7 @@ class App:
def status(self):
cmd = "ps -ef|grep " + self.getPluginName() + \
" |grep -v grep | grep -v python | awk '{print $2}'"
" |grep -v grep | grep -v nezha-agent | grep -v python | awk '{print $2}'"
data = mw.execShell(cmd)
if data[0] == '':
return 'stop'