Merge pull request #8517 from vbrh-immalle/master

Update is_port_open.rb
This commit is contained in:
Brian Cain 2017-09-29 14:47:20 -07:00 committed by GitHub
commit 49a569beba
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,8 @@ module Vagrant
return true
end
rescue Timeout::Error, Errno::ECONNREFUSED, Errno::EHOSTUNREACH, \
Errno::ENETUNREACH, Errno::EACCES, Errno::ENOTCONN
Errno::ENETUNREACH, Errno::EACCES, Errno::ENOTCONN, \
Errno::EADDRNOTAVAIL
# Any of the above exceptions signal that the port is closed.
return false
end