This commit is contained in:
georgehao
2021-05-18 00:40:04 +08:00
3 changed files with 4 additions and 2 deletions

View File

@@ -280,10 +280,12 @@ func RemoteCommandJob(id int, serverId int, name string, command string, servers
jobresult.ErrMsg = c.String()
jobresult.OutMsg = b.String()
jobresult.IsOk = false
return
}
jobresult.OutMsg = b.String()
jobresult.ErrMsg = c.String()
jobresult.IsOk = true
return
}
return job