Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Login
From:
David Röthlisberger
(Uncensored)
subscribe
Shell scripts: Don't use "set -e" for error handling
http://david.rothlis.net/shell-set-e/
links
backlinks
I used to be a fan of "set -e" in shell scripts. It causes the script to exit immediately if an error occurs, except where you explicitly handle the error with: