From d4a2e39c3ed3bfd680903f03bcb6a109eca590f7 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 15 Feb 2012 18:20:44 -0800 Subject: [PATCH] Gracefully handle if the type of arg is not correct for bridged. [GH-743] --- lib/vagrant/action/vm/network.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vagrant/action/vm/network.rb b/lib/vagrant/action/vm/network.rb index 5e4a7a178..e79da8c7e 100644 --- a/lib/vagrant/action/vm/network.rb +++ b/lib/vagrant/action/vm/network.rb @@ -308,6 +308,7 @@ module Vagrant def bridged_config(args) options = args[0] || {} + options = {} if !options.is_a?(Hash) return { :adapter => nil,