donnemartin/dev-setup

For all installation scripts, exit immediately if a command exits with a non-zero status

Aperta

#25 aperta il 29 mag 2016

 (2 commenti) (0 reazioni) (0 assegnatari)Python (1139 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (6264 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor