From f21f24b34584ec9f7166385808e0eabe1a8ff4d9 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sun, 11 Oct 2020 16:00:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0openresty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/killNode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/killNode b/shell/killNode index 8d84330..7212b16 100644 --- a/shell/killNode +++ b/shell/killNode @@ -4,7 +4,7 @@ result=1 if [ -e run.pid ] then p=`cat run.pid` - kill $p + kill -9 $p if [ $? -eq 0 ] then echo "成功杀死进程:$p"