commands/rdp: avoid rdp_info being nil

This commit is contained in:
Mitchell Hashimoto 2014-05-20 20:18:15 -07:00
parent 4dbe534c02
commit 2771bf8675
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ module VagrantPlugins
rdp_info = {}
if machine.provider.capability?(:rdp_info)
rdp_info = machine.provider.capability(:rdp_info)
rdp_info ||= {}
end
ssh_info = machine.ssh_info