mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine script
This commit is contained in:
parent
b825ea62f9
commit
c49981ed6f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue