Skip to content

Commit

Permalink
communicators/ssh: call ready? when waiting
Browse files Browse the repository at this point in the history
This lets things like the SSH key go in
  • Loading branch information
mitchellh committed Feb 26, 2014
1 parent 1061e93 commit c877fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/communicators/ssh/communicator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def wait_for_ready(timeout)
begin
begin
connect(retries: 1)
return true
return true if ready?
rescue Vagrant::Errors::VagrantError => e
@logger.info("SSH not ready: #{e.inspect}")
raise
Expand Down

0 comments on commit c877fc2

Please sign in to comment.