Bash tip: exit after any error
Tuesday, January 31, 2012, Modified: Friday, August 03, 2012 Refs
"Every script you write should include set -e at the top."

Use set -u to make your script exit if any command line arguments are not supplied.

Try Buffer, a smarter way to share links and pictures by spreading your tweets and posts out over time. Sign up from this link and we both get extra features.

Home :: Items