1,126
edits
(Spacing and formatting.) |
|||
| Line 46: | Line 46: | ||
... or use the 'if' command to decide to do something, like paging an administrator to alert them when a load failed. | ... or use the 'if' command to decide to do something, like paging an administrator to alert them when a load failed. | ||
if <nowiki>[[ $ARSLOAD_RC ]]</nowiki> ; then | if <nowiki>[[ $ARSLOAD_RC == 0 ]]</nowiki> ; then | ||
echo "The load was successful!" | echo "The load was successful!" | ||
else | else | ||