Skip to content

Instantly share code, notes, and snippets.

@onecooltaco
Created November 6, 2011 21:09
Show Gist options
  • Save onecooltaco/1343493 to your computer and use it in GitHub Desktop.
Save onecooltaco/1343493 to your computer and use it in GitHub Desktop.
Use set -e
### exit the script if any statement returns a non-true return value.
set -o errexit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment