运行脚本

master
pan 4 years ago
parent f41ef2d6bd
commit 5ed6d39133
  1. 8
      run.sh

@ -6,13 +6,13 @@ function run(){
while true
do
pid=`findPortPid $webPort`
if [ $pid ]
if [ -z $pid ]
then
echo "pid is $pid"
break
else
echo "pid not found!!!"
sleep 1s
else
echo "pid is $pid"
break
fi
done

Loading…
Cancel
Save