Difference between revisions of "Set -e"
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
== See also == | == See also == | ||
* {{set -o}} | * {{set -o}} | ||
+ | * {{set -e}} | ||
* {{set}} | * {{set}} | ||
[[Category:Bash]] | [[Category:Bash]] |
Revision as of 14:47, 25 August 2024
set -e or set -o errexit
-e Exit immediately if a command exits with a non-zero status.
set -eo pipefail set -eu set -euo pipefail set -euox pipefail set -Eeuxo pipefail
Related
- Errors
trap
- return
- exit 0
- usage
- SET SESSION AUTHORIZATION
set +b
set +e
set -E
set -eu
- bash -e
- continue-on-error:
See also
Advertising: