Laszlo Csomor | 03275d6 | 2015-03-20 13:04:02 +0000 | [diff] [blame] | 1 | # exit immediately if a command or pipeline fails, unless it is in a test expression |
2 | set -e | ||||
3 | |||||
4 | # treat unset variables as errors | ||||
5 | set -u | ||||
6 | |||||
7 | # exit code of a pipeline is 0, or the non-zero exit code of the rightmost failing command | ||||
8 | set -o pipefail |