lib/wordmove/hosts/local_host.rb in wordmove-sshbump-0.0.5 vs lib/wordmove/hosts/local_host.rb in wordmove-sshbump-0.0.6
- old
+ new
@@ -10,10 +10,10 @@
def initialize(options = {})
@options = Hashie::Mash.new(options)
@logger = @options[:logger]
@ssh_extras = {}
[ :port, :password ].each do |p|
- @ssh_extras.merge( { p => options.ssh[p] } ) if options.ssh[p]
+ @ssh_extras.merge!( { p => options.ssh[p] } ) if @options.ssh[p]
end
end
def run(*args)
command = shell_command(*args)