donnemartin/dev-setup
Auf GitHub ansehenFor all installation scripts, exit immediately if a command exits with a non-zero status
Open
#25 geöffnet am 29. Mai 2016
enhancementhelp wanted
Repository-Metriken
- Stars
- (5.984 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
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