QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1869|回复: 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, 2024-4-19 23:18 , Processed in 0.088485 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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