找回密码
 注册
查看: 1418|回复: 0

set -e

[复制链接]
发表于 2009-3-17 15:12:24 | 显示全部楼层 |阅读模式
-e      Exit immediately if a simple command  (see  SHELL
                      GRAMMAR above) exits with a non-zero status.  The
                      shell does not exit if the command that fails  is
                      part  of the command list immediately following a
                      while or until keyword, part of the test in an if
                      statement,  part  of  a  && or ││ list, or if the
                      command’s return value is being inverted  via  !.
                      A  trap  on  ERR,  if set, is executed before the
                      shell exits.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-6 00:55 , Processed in 0.050159 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表