Update index.py

pull/420/head
midoks 2 years ago
parent 5444fe6455
commit 98f27498b0
  1. 2
      plugins/nezha/index.py

@ -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'

Loading…
Cancel
Save