[agent][executor]- bug

This commit is contained in:
zeaslity
2023-02-25 18:10:22 +08:00
parent 5e10f7cb63
commit 5e4441fcf1

View File

@@ -63,16 +63,11 @@ public class CommandExecLogCache {
TimeUtils.currentTimeString()
);
String execResultString = String.format(
"execution result is => [ %s ]",
process.exitValue()
);
// add the command
commandCachedLog.add("");
commandCachedLog.add(execCommandString);
commandCachedLog.add(execTimeString);
commandCachedLog.add(execResultString);
commandCachedLog.add("--------------- command result are as below --------------------");
commandCachedLog.add("");