diff --git a/plugins/mongodb/tool_task.py b/plugins/mongodb/tool_task.py index 159749654..d7a769640 100644 --- a/plugins/mongodb/tool_task.py +++ b/plugins/mongodb/tool_task.py @@ -76,7 +76,7 @@ rname=%s plugin_path=%s script_path=%s ''' % (mw_dir, name, getServerDir(), getPluginDir()) - cmd += 'echo "python3 $script_path/check.sh"' + "\n" + cmd += 'echo "bash $script_path/check.sh"' + "\n" cmd += 'cd $mw_dir && bash $script_path/check.sh' + "\n" params = { diff --git a/plugins/openresty/tool_task.py b/plugins/openresty/tool_task.py index bc1cb3a85..6029ad9ee 100644 --- a/plugins/openresty/tool_task.py +++ b/plugins/openresty/tool_task.py @@ -76,7 +76,7 @@ rname=%s plugin_path=%s script_path=%s ''' % (mw_dir, name, getServerDir(), getPluginDir()) - cmd += 'echo "python3 $script_path/check.sh"' + "\n" + cmd += 'echo "bash $script_path/check.sh"' + "\n" cmd += 'cd $mw_dir && bash $script_path/check.sh' + "\n" params = {