pull/125/head
midoks 3 years ago
parent 5b7538e962
commit 13a90e5d55
  1. 5
      plugins/mariadb/index.py
  2. 5
      plugins/mysql/index.py

@ -198,11 +198,6 @@ def initDreplace(version=''):
def status(version=''):
data = mw.execShell(
"ps -ef|grep mysqld |grep -v grep | grep -v python | awk '{print $2}'")
if data[0] == '':
return 'stop'
pid = getPidFile()
if not os.path.exists(pid):
return 'stop'

@ -198,11 +198,6 @@ def initDreplace(version=''):
def status(version=''):
data = mw.execShell(
"ps -ef|grep mysqld |grep -v grep | grep -v python | awk '{print $2}'")
if data[0] == '':
return 'stop'
pid = getPidFile()
if not os.path.exists(pid):
return 'stop'

Loading…
Cancel
Save