首页 > 代码库 > be careful with "bash -ex"

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)

be careful with "bash -ex"