Gracefully handle if the type of arg is not correct for bridged.

[GH-743]
This commit is contained in:
Mitchell Hashimoto 2012-02-15 18:20:44 -08:00
parent 163da82170
commit d4a2e39c3e
1 changed files with 1 additions and 0 deletions

View File

@ -308,6 +308,7 @@ module Vagrant
def bridged_config(args)
options = args[0] || {}
options = {} if !options.is_a?(Hash)
return {
:adapter => nil,