Skip to content

Commit

Permalink
Update lsopen.go
Browse files Browse the repository at this point in the history
  • Loading branch information
coolcoolnoworries authored Oct 16, 2024
1 parent 7064a19 commit 49f2d43
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Payload_Type/poseidon/poseidon/agent_code/lsopen/lsopen.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ func Run(task structs.Task) {
return
}

if r.Successful {
msg.UserOutput = "Successfully spawned process."
msg.Completed = true
task.Job.SendResponses <- msg
} else {
msg.UserOutput = "Failed to spawn process."
msg.Completed = true
task.Job.SendResponses <- msg
}
if r.Successful {
msg.UserOutput = "Successfully spawned application."
msg.Completed = true
task.Job.SendResponses <- msg
} else {
msg := task.NewResponse()
msg.SetError("Failed to spawn application.")
task.Job.SendResponses <- msg
}

return
}

0 comments on commit 49f2d43

Please sign in to comment.