donnemartin/dev-setup
在 GitHub 查看For all installation scripts, exit immediately if a command exits with a non-zero status
Open
#25 创建于 2016年5月29日
enhancementhelp wanted
仓库指标
- Star
- (5,984 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
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