Created
November 6, 2011 22:28
-
-
Save onecooltaco/1343677 to your computer and use it in GitHub Desktop.
exit the script on use of an uninitialised variable.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### exit the script if there are any uninitialised variable. | |
set -o nounset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment