Differences

This shows you the differences between the selected revisions of the page.

2016-03-02 2023-05-22 (current)
lowercase /b and /t (martin) consistent nesting (martin)
Line 12: Line 12:
if %ERRORLEVEL% neq 0 ( if %ERRORLEVEL% neq 0 (
-···set /A TRIES=%TRIES%-1 +····set /A TRIES=%TRIES%-1 
- ··if %TRIES% gtr 1 ( + ···if %TRIES% gtr 1 ( 
- ······echo Failed, retrying in %INTERVAL% seconds... + ·······echo Failed, retrying in %INTERVAL% seconds... 
- ······timeout /t %INTERVAL% + ·······timeout /t %INTERVAL% 
- ······goto retry + ·······goto retry 
- ··) else ( + ···) else ( 
- ······echo Failed, aborting + ·······echo Failed, aborting 
- ······exit /b 1 + ·······exit /b 1 
- ··)+ ···)
) )

Last modified: by martin