Merge branch 'refs/heads/feat-shell-runtime' into release

This commit is contained in:
junleea 2025-08-07 20:01:12 +08:00
commit 790d6b75a6
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ func ShellWillRunFromServer() {
if err2 != "" { if err2 != "" {
resp = append(resp, proto.UpdateShellReq{ID: v.ID, Server: v.Server, Status: 3, ShellResult: err2, ShellRuntime: shellRuntime}) //执行出错 resp = append(resp, proto.UpdateShellReq{ID: v.ID, Server: v.Server, Status: 3, ShellResult: err2, ShellRuntime: shellRuntime}) //执行出错
} else { } else {
resp = append(resp, proto.UpdateShellReq{ID: v.ID, Server: v.Server, Status: 2, ShellResult: res}) //执行成功 resp = append(resp, proto.UpdateShellReq{ID: v.ID, Server: v.Server, Status: 2, ShellResult: res, ShellRuntime: shellRuntime}) //执行成功
} }
} }
if len(resp) == 0 { if len(resp) == 0 {