From b0cae9c8cb025a0952cc28815943e812a9c2f4b8 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 12 Jun 2022 15:52:18 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 66fa2bf58..caa543ee8 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -375,6 +375,8 @@ def my8cmd(version, method): my8cmd(version, method) else: + if method == "stop": + mw.execShell(cmd) subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True, bufsize=4096, stderr=subprocess.PIPE) return 'ok'