3 ms·
I think "set -e" may be more idiomatic. While not scientific, there are more instances (by about an order of magnitude) of "set -e" than "set -o errexit" found
by pmh 12y ago
I think "set -e" may be more idiomatic. While not scientific, there are more instances (by about an order of magnitude) of "set -e" than "set -o errexit" found via a code search on GitHub.
Anecdotally, I've nearly always seen "set -e" in bash scripts I've worked with over the years (if the option is there at all).