diff --git a/routers/repo/grampus.go b/routers/repo/grampus.go index 7dd786abf..97d99b9cf 100755 --- a/routers/repo/grampus.go +++ b/routers/repo/grampus.go @@ -656,7 +656,7 @@ func generateCommand(repoName, processorType, codeRemotePath, dataRemotePath, bo } //check exec result - commandCheckRes := "bash -c \"[[ result -eq 0 ]] && echo success || ls failed;\"" + commandCheckRes := "bash -c \"[[ $result -eq 0 ]] && echo success || ls failed;\"" command += commandCheckRes return command, nil