commands/rdp: avoid rdp_info being nil
This commit is contained in:
parent
4dbe534c02
commit
2771bf8675
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue