Browse Source

debug

pull/2379/head
lewis 3 years ago
parent
commit
7bb0a4d9ad
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/grampus.go

+ 1
- 1
routers/repo/grampus.go View File

@@ -655,7 +655,7 @@ func generateCommand(repoName, processorType, codeRemotePath, dataRemotePath, bo
} }


//check exec result //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 command += commandCheckRes


return command, nil return command, nil


Loading…
Cancel
Save