dromara/Jpom

Agent.sh脚本的问题

Closed this issue · 2 comments

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

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"
}

新版本已经发版