What `set -e` actually does (and why your script still leaks)
Bourne errexit is the most misunderstood line in every devops onboarding doc. Here is what it actually does, step by step, with the rules in the POSIX spec and the bash extensions that contradict them.