Fix root directory generation on failed access
This commit is contained in:
parent
15dacc80c0
commit
cf29085d33
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue