Fix bug.
This commit is contained in:
parent
973c9fae74
commit
a82e6bca92
|
@ -157,7 +157,11 @@ namespace :exec_commands do
|
|||
update_infos_for_exec(data)
|
||||
end
|
||||
else
|
||||
outputs[-1] += data.to_s rescue ""
|
||||
if outputs.count == 0
|
||||
outputs.push(data.to_s)
|
||||
else
|
||||
outputs[-1] += (data.to_s rescue "")
|
||||
end
|
||||
if update
|
||||
update_thread_infos_for_exec(data,true) if @flag
|
||||
update_infos_for_exec(data,true)
|
||||
|
|
Loading…
Reference in New Issue