donnemartin/dev-setup
For all installation scripts, exit immediately if a command exits with a non-zero status
オープン
#25 opened on 2016/05/29
enhancementhelp wanted
Repository metrics
- Stars
- (6,264 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
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