Fix root directory generation on failed access

This commit is contained in:
Chris Roberts 2018-07-06 16:27:52 -07:00
parent 15dacc80c0
commit cf29085d33
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ param(
$check = Check-VagrantHyperVAccess -Path $Path
$result = @{
root_dir = ($Path -split '\\')[0,2] -join '\';
root_dir = ($Path -split '\\')[0,1] -join '\';
result = $check
}