Difference between revisions of "Set -E"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
  
 
== Related ==
 
== Related ==
[[set -e]]
+
* <code>[[set -e]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 11:25, 25 November 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

See also

Advertising: