Closed yusiwen closed 10 months 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"
}
新版本已经发版
由这个commit带来的问题
modules/agent/src/main/bin/Agent.sh
中errorExit
没有定义