x
This commit is contained in:
parent
e144f1810f
commit
f474032824
@ -139,11 +139,11 @@ func runTask(task *Task, msgs ...interface{}) string {
|
||||
break
|
||||
}
|
||||
msg += line
|
||||
if !task.Ykq {
|
||||
if !task.Ykq && len(msgs) > 0 {
|
||||
sendMessagee(line, msgs...)
|
||||
}
|
||||
}
|
||||
if task.Ykq {
|
||||
if task.Ykq && len(msgs) > 0 {
|
||||
sendMessagee(msg, msgs...)
|
||||
}
|
||||
err = cmd.Wait()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user