lib/screwcap/runner.rb in screwcap-0.7 vs lib/screwcap/runner.rb in screwcap-0.7.1
- old
+ new
@@ -48,10 +48,10 @@
when :scp
threads = []
servers.each do |server|
threads << Thread.new(server) { |_server| _server._upload! command[:local], command[:remote] }
end
- thread.each {|t| t.join }
+ threads.each {|t| t.join }
return 0
when :block
command[:block].call
end
end