|
# Immediately exit if a command run from a loop, a pipeline or a compound |
|
# command statement fails or a variable is used unset. |
|
set -o errexit nounset |
To match the comment, the actual command should be like this:
set -o errexit -o nounset -o pipefail
This makes nounset actually take effect, and enables the pipe failure thing.
docs/source/administration-guide/upgrade/upgrade_mattermost.sh
Lines 3 to 5 in 3c001a7
To match the comment, the actual command should be like this:
set -o errexit -o nounset -o pipefailThis makes
nounsetactually take effect, and enables the pipe failure thing.