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