Merge branch 'master' of https://github.com/george518/PPGo_Job
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user