TurnKey Linux Virtual Appliance Library

Two simple tricks for better shell script error handling



Smack yourself if you don't use generic shell script hooks

Smack yourself in the forehead if you don't use the following snippet (or an equivalent) in all custom shell scripts that could benefit from a hooking mechanism:

Friends don't let friends program in shell script
