Skip to content

Instantly share code, notes, and snippets.

@summivox
Created September 22, 2012 13:48
Show Gist options
  • Save summivox/3766216 to your computer and use it in GitHub Desktop.
Save summivox/3766216 to your computer and use it in GitHub Desktop.
do{curl} until succeed(i.e. return 0)
@:start
@echo attempt
@curl %*
@if errorlevel 1 goto start
@echo succeed
@:end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment