From 5a5b85698c55ac420f5347343ed697e0dd9efff2 Mon Sep 17 00:00:00 2001 From: lewis <747342561@qq.com> Date: Wed, 15 Jun 2022 14:28:22 +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 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