|
@@ -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 |
|
|