Note that pipefail isn't normally set (#1108)

This commit is contained in:
Casey Rodarmor 2022-02-17 14:02:03 -08:00 committed by GitHub
parent 90e0fccb5d
commit b4a0a8090d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1404,7 +1404,7 @@ It isn't strictly necessary, but `set -euxo pipefail` turns on a few useful feat
- `set -x` makes `bash` print each script line before it's run. - `set -x` makes `bash` print each script line before it's run.
- `set -o pipefail` makes `bash` exit if a command in a pipeline fails. - `set -o pipefail` makes `bash` exit if a command in a pipeline fails. This is `bash`-specific, so isn't turned on in normal linewise `just` recipes.
Together, these avoid a lot of shell scripting gotchas. Together, these avoid a lot of shell scripting gotchas.