donnemartin/dev-setup
View on GitHubFor all installation scripts, exit immediately if a command exits with a non-zero status
Open
#25 opened on May 29, 2016
enhancementhelp wanted
Repository metrics
- Stars
- (5,984 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
it's important for a script to exit immediately if a command exits with a non-zero status, otherwise results are unpredictable.
this can be achieved by adding set -e at the beginning of all bash scripts