Exit on error ignoring subshell exit status
Issue
Exit on error ignoring subshell exit status:
Setting shell option set -e (set -o errexit) , a script does not exit if an error occurs within a subshell using the subshell command (false)
Environment
Red Hat Enterprise Linux 5.8
Bash 3.2-32.el5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
