Skip to content

Commit

Permalink
Handle Errno::ENETUNREACH like Errno::EHOSTUNREACH
Browse files Browse the repository at this point in the history
  • Loading branch information
leeor committed Aug 13, 2012
1 parent 54c34b7 commit ab33a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chef/knife/vsphere_vm_clone.rb
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def tcp_test_ssh(hostname)
rescue Errno::ECONNREFUSED
sleep 2
false
rescue Errno::EHOSTUNREACH
rescue Errno::EHOSTUNREACH, Errno::ENETUNREACH
sleep 2
false
ensure
Expand Down

0 comments on commit ab33a40

Please sign in to comment.