运行脚本

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

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

Loading…
Cancel
Save