| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
I don't know much about this, so I trust you two 😄
Sorry, something went wrong.
|
shopt -s inherit_errexit is like set -e but for sub-shells. Using set -e is mandatory for inherit_errexit to work. #!/bin/bash
set -o errexit # same as 'set -e'
shopt -s inherit_errexit
echo "$(command-not-exist; echo 'This message is not displayed')"If you comment/remove the "shopt" line, the message is displayed. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
Type of change
Checklist