If you’re to the point of using «set -e» in your #bash script, you probably want to also use «set -o pipefail», otherwise your script won’t die if you run «false | cat».