dromara / Jpom

🚀简而轻的低侵入式在线构建、自动部署、日常运维、项目监控软件
https://jpom.dromara.org/
Other
1.49k stars 308 forks source link

Agent.sh脚本的问题 #64

Closed yusiwen closed 10 months ago

yusiwen commented 1 year ago

由这个commit带来的问题 modules/agent/src/main/bin/Agent.sherrorExit没有定义

bwcx-jzy commented 1 year ago
function errorExit() {
    echo "$1" 2>&2
    if [ "${mode}" == "-s" ]; then
        logStdout "$1"
    fi
    exit 1
}

function logStdout() {
    #       out stdout
    if [ ! -f "$Log" ]; then
        touch "$Log"
    fi
    echo "$1" >"$Log"
}
bwcx-jzy commented 10 months ago

新版本已经发版