sleep when git commit failed.

This commit is contained in:
winlin 2014-11-27 08:03:21 +08:00
parent ff73088091
commit e76c53dae8

View File

@ -43,6 +43,7 @@ function sync_push()
git push $*
ret=$?; if [[ 0 -ne $ret ]]; then
failed_msg "Retry for failed: $*"
sleep 3
continue
else
ok_msg "Success: $*"