但是现在状态为2 也退出脚本了。请大家帮忙看看,谢谢了 作者: 清潼止水 时间: 2011-11-28 17:10
exit [n]
Cause the shell to exit with a status of n. If n is omitted, the exit status is that of the last com-
mand executed. A trap on EXIT is executed before the shell terminates. 作者: ljwd1000 时间: 2011-11-28 17:22 回复 2#清潼止水