Return true on ssh up?

This commit is contained in:
Mitchell Hashimoto 2011-12-10 21:07:45 -08:00
parent c4eeda2025
commit 00c40f82b1
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ module Vagrant
execute(:timeout => env.config.ssh.timeout, :port => ssh_port) { |ssh| } execute(:timeout => env.config.ssh.timeout, :port => ssh_port) { |ssh| }
end end
false true
rescue Net::SSH::AuthenticationFailed rescue Net::SSH::AuthenticationFailed
raise Errors::SSHAuthenticationFailed raise Errors::SSHAuthenticationFailed
rescue Timeout::Error, Errno::ECONNREFUSED, Net::SSH::Disconnect, rescue Timeout::Error, Errno::ECONNREFUSED, Net::SSH::Disconnect,