Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent.sh脚本的问题 #64

Closed
yusiwen opened this issue Sep 22, 2023 · 2 comments
Closed

Agent.sh脚本的问题 #64

yusiwen opened this issue Sep 22, 2023 · 2 comments

Comments

@yusiwen
Copy link

yusiwen commented Sep 22, 2023

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

@bwcx-jzy
Copy link
Member

bwcx-jzy commented Sep 25, 2023

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
Copy link
Member

新版本已经发版

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants