Update index.py

pull/597/head
Mr Chen 11 months ago
parent cc6e4d07b0
commit dee06ecf45
  1. 2
      plugins/mysql-yum/index.py

@ -253,7 +253,7 @@ def initDreplace(version=''):
return 'ok'
def process_status():
cmd = "ps -ef|grep mysql |grep -v grep | grep -v python | awk '{print $2}'"
cmd = "ps -ef|grep mysql-yum | grep mysql |grep -v grep | grep -v python | awk '{print $2}'"
data = mw.execShell(cmd)
if data[0] == '':
return 'stop'

Loading…
Cancel
Save