lib/remote_run/runner.rb in remote_run-0.1.7 vs lib/remote_run/runner.rb in remote_run-0.1.8

- old
+ new

@@ -129,10 +129,10 @@ def check_for_finished @children.each do |task| child_pid = task.pid if task_is_finished?(child_pid) @results << $?.exitstatus - if @result.last.to_s != "0" + if @results.last.to_s != "0" log("Below tasks failed on #{task.host}\n#{task.command}", :red) end @children.delete(task) end end