Differences
This shows you the differences between the selected revisions of the page.
2014-09-18 | 2014-09-18 | ||
exit code of a batch file (martin) | exit code of a batch file (martin) | ||
Line 639: | Line 639: | ||
tar -xf archive.tar | tar -xf archive.tar | ||
del archive.tar | del archive.tar | ||
- | exit | + | exit 0 |
:error | :error | ||
echo Retrieving files failed | echo Retrieving files failed | ||
+ | exit 1 | ||
</code> | </code> | ||