From b7c1d738dd24e0acbb1f04a2a55aefbb4af19b93 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 6 Jul 2022 13:45:26 +0800 Subject: [PATCH] Update index.py --- plugins/mysql-ya/index.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/mysql-ya/index.py b/plugins/mysql-ya/index.py index e651662fc..b45a7cc9a 100755 --- a/plugins/mysql-ya/index.py +++ b/plugins/mysql-ya/index.py @@ -168,11 +168,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 = getServerDir() + '/data/mysql.pid' if not os.path.exists(pid): return 'stop'