Skip to content

Commit 8404f69

Browse files
author
Yang Guo
committed
fix missing exit value for kill cmd
1 parent f30ce4f commit 8404f69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

platform-agent/src/main/java/com/flow/platform/agent/CmdManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ public synchronized void kill() {
260260
CmdResult r = entry.getValue();
261261
r.setExecutedTime(now);
262262
r.setFinishTime(now);
263+
r.setExitValue(CmdResult.EXIT_VALUE_FOR_KILL);
263264

264265
Cmd cmd = entry.getKey();
265266
finished.put(cmd, r);

0 commit comments

Comments
 (0)