be careful with "bash -ex"

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)

原文地址:https://www.cnblogs.com/sanquanfeng/p/5824405.html