Differences
This shows you the differences between the selected revisions of the page.
| 2016-03-02 | 2016-03-02 | ||
| created (martin) | lowercase /b and /t (martin) | ||
| Line 15: | Line 15: | ||
| 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 |
| ) | ) | ||
| ) | ) | ||
| echo Success | echo Success | ||
| - | exit /B 0 | + | exit /b 0 |
| </code> | </code> | ||