From 7bb0a4d9ade05bdc2f70448103edafe8380d7f04 Mon Sep 17 00:00:00 2001 From: lewis <747342561@qq.com> Date: Tue, 21 Jun 2022 14:45:16 +0800 Subject: [PATCH] debug --- routers/repo/grampus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/repo/grampus.go b/routers/repo/grampus.go index f8fdfe745..35e2c5feb 100755 --- a/routers/repo/grampus.go +++ b/routers/repo/grampus.go @@ -655,7 +655,7 @@ func generateCommand(repoName, processorType, codeRemotePath, dataRemotePath, bo } //check exec result - commandCheckRes := "bash -c \"[[ $result -eq 0 ]] && echo success || return -1;\"" + commandCheckRes := "bash -c \"[[ $result -eq 0 ]] && exit 0 || exit -1;\"" command += commandCheckRes return command, nil