Skip to content

Instantly share code, notes, and snippets.

@ds0nt
Created September 20, 2015 18:37
Show Gist options
  • Save ds0nt/20592be6e33e8b55487d to your computer and use it in GitHub Desktop.
Save ds0nt/20592be6e33e8b55487d to your computer and use it in GitHub Desktop.
set -o nounset set -o errexit command || { echo "command failed"; exit 1; } if ! command; then echo "command failed"; exit 1; fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment