Update index.py

This commit is contained in:
midoks
2023-01-10 17:03:36 +08:00
parent e30ac33cea
commit 51aa028f97
+1 -1
View File
@@ -501,7 +501,7 @@ def setMyDbPos(version=''):
start(version)
result = mw.execShell(
'ps aux|grep mysqld| grep -v grep|grep -v python')
'ps aux|grep "mysql-apt/bin/usr/sbin/mysqld"| grep -v grep|grep -v python')
if len(result[0]) > 10:
mw.writeFile('data/datadir.pl', t_datadir)
return mw.returnJson(True, '存储目录迁移成功!')