Follow

@tamtararam It's also important to keep in mind that set -e does *not* work on commands in subshells, e.g. if you set a variable with MYVAR="$(command_in_subshell)" and command_in_subshell returns with an error, the script will continue!

· · Web · 0 · 2 · 3
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!