Detect the result of the has_vmcx_support properly

Fixes #8677
This commit is contained in:
Richard Mayes 2017-06-13 18:20:48 +01:00 committed by GitHub
parent f3535e393e
commit 649fea13ff
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ module VagrantPlugins
end end
end end
vmcx_support = env[:machine].provider.driver.execute("has_vmcx_support.ps1", {}) vmcx_support = env[:machine].provider.driver.execute("has_vmcx_support.ps1", {})['result']
if vmcx_support if vmcx_support
vm_dir.each_child do |f| vm_dir.each_child do |f|
if f.extname.downcase == '.vmcx' if f.extname.downcase == '.vmcx'