修改shell运行时间
This commit is contained in:
parent
fb1752b9d7
commit
4dacd672b7
|
|
@ -85,7 +85,7 @@ func ShellWillRunFromServer() {
|
|||
if err2 != "" {
|
||||
resp = append(resp, proto.UpdateShellReq{ID: v.ID, Server: v.Server, Status: 3, ShellResult: err2, ShellRuntime: shellRuntime}) //执行出错
|
||||
} 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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue