摘要: 在shell脚本中set命令就可以轻松实现。set命令的-e参数,linux系统自带的说明是:"Exit immediately if a simple command exits with a non-zero status.",也就是说,在"set -e"之后出现的代码,一旦出现了返回值非零,整 阅读全文
posted @ 2020-11-09 13:56 WH·xiao 阅读(420) 评论(0) 推荐(0) 编辑