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