Merge pull request #948 from kindjal/master

is_port_open.rb needs to catch ENETUNREACH
This commit is contained in:
Mitchell Hashimoto 2012-05-25 20:23:04 -07:00
commit ba91169dc4
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ module Vagrant
# to connect.
return true
end
rescue Timeout::Error, Errno::ECONNREFUSED, Errno::EHOSTUNREACH
rescue Timeout::Error, Errno::ECONNREFUSED, Errno::EHOSTUNREACH, Errno::ENETUNREACH
# Any of the above exceptions signal that the port is closed.
return false
end