donnemartin/dev-setup
For all installation scripts, exit immediately if a command exits with a non-zero status
开放
#25 创建于 2016年5月29日
enhancementhelp wanted
仓库指标
- 星标
- (6,264 个星标)
- PR 合并指标
- (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