1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine script

This commit is contained in:
winlin 2014-11-27 12:51:33 +08:00
parent b825ea62f9
commit c49981ed6f

View file

@ -50,11 +50,11 @@ function sync_push()
for ((;;)); do
git push $*
ret=$?; if [[ 0 -ne $ret ]]; then
failed_msg "Retry for failed: $*"
failed_msg "Retry for failed: git push $*"
sleep 3
continue
else
ok_msg "Success: $*"
ok_msg "Success: git push $*"
fi
break
done