mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-09 00:32:06 -04:00
Correct typo, $Enable instead of $enabled.
This commit is contained in:
parent
1ee2365599
commit
5ac8bb8620
1 changed files with 2 additions and 2 deletions
|
|
@ -19,9 +19,9 @@ try {
|
|||
}
|
||||
|
||||
try {
|
||||
Set-VagrantVMService -VM $VM -Name $Name -Enable $enabled
|
||||
Set-VagrantVMService -VM $VM -Name $Name -Enable $Enable
|
||||
} catch {
|
||||
if($enabled){ $action = "enable" } else { $action = "disable" }
|
||||
if($Enable){ $action = "enable" } else { $action = "disable" }
|
||||
Write-Error-Message "Failed to ${action} VM integration service ${Name}: ${PSItem}"
|
||||
exit 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue