标签:
http://tldp.org/LDP/abs/html/options.html
-e errexit Abort script at first error, when a command exits with non-zero status (except in until or while loops, if-tests, list constructs)
be careful with "bash -ex"
原文地址:http://www.cnblogs.com/sanquanfeng/p/5824405.html