Commit 1bf93ef4 authored by 白秀江's avatar 白秀江

更新project-deploy.sh

parent ae47dcad
...@@ -16,7 +16,7 @@ function deploy() { ...@@ -16,7 +16,7 @@ function deploy() {
sh -x ./restart.sh sh -x ./restart.sh
COUNT=0 COUNT=0
TIMES=0 TIMES=0
if [ -n "$3" ]; then
while [ $COUNT -lt 1 ]; do while [ $COUNT -lt 1 ]; do
echo -e ".\c" echo -e ".\c"
sleep 1 sleep 1
...@@ -28,7 +28,7 @@ function deploy() { ...@@ -28,7 +28,7 @@ function deploy() {
if [ $TIMES -gt 200 ]; then if [ $TIMES -gt 200 ]; then
exit 1 exit 1
fi fi
done
fi fi
} }
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment