且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

错误退出脚本

更新时间:2023-12-05 21:28:10

您是否正在寻找 exit ?

Are you looking for exit?

这是***的bash指南. http://tldp.org/LDP/abs/html/

This is the best bash guide around. http://tldp.org/LDP/abs/html/

在上下文中:

if jarsigner -verbose -keystore $keyst -keystore $pass $jar_file $kalias
then
    echo $jar_file signed sucessfully
else
    echo ERROR: Failed to sign $jar_file. Please recheck the variables 1>&2
    exit 1 # terminate and indicate error
fi

...