Difference between revisions of "Set -E"
Jump to navigation
Jump to search
(Created page with "{{lc}} If set, any trap on ERR is inherited by shell functions, command substitutions, and commands executed in a subshell environment. The ERR trap is normally not inherit...") |
|||
Line 3: | Line 3: | ||
If set, any trap on ERR is inherited by shell functions, command substitutions, and commands executed in a subshell environment. The ERR trap is normally not inherited in such cases. | If set, any trap on ERR is inherited by shell functions, command substitutions, and commands executed in a subshell environment. The ERR trap is normally not inherited in such cases. | ||
+ | |||
+ | == Related == | ||
+ | [[set -e]] | ||
== See also == | == See also == | ||
* {{set}} | * {{set}} |
Revision as of 14:24, 19 June 2022
If set, any trap on ERR is inherited by shell functions, command substitutions, and commands executed in a subshell environment. The ERR trap is normally not inherited in such cases.
Related
set -e
See also
Advertising: