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