From d3b91d6c639b143c86b70ab261aa701688037c69 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sun, 11 Oct 2020 03:56:25 +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/savePid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/savePid b/shell/savePid index 7a5c477..8fe99d9 100644 --- a/shell/savePid +++ b/shell/savePid @@ -5,7 +5,7 @@ second=5s while true do pid=`findPortPid $1` - if [ -z $pid ] + if [ -z `echo $pid` ] then echo "没有找到端口:$1的pid,$second后重试" sleep $second