lib/remote_run/runner.rb in remote_run-0.1.6 vs lib/remote_run/runner.rb in remote_run-0.1.7
- old
+ new
@@ -129,9 +129,12 @@
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"
+ log("Below tasks failed on #{task.host}\n#{task.command}", :red)
+ end
@children.delete(task)
end
end
end