Skip to content

Commit

Permalink
fix: use correct variable name (#5911)
Browse files Browse the repository at this point in the history
  • Loading branch information
timmy-wright authored Feb 25, 2025
1 parent f97093f commit 875c0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vhdbuilder/packer/windows/configure-windows-vhd.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ function Update-Registry
if (![string]::IsNullOrEmpty($currentValue))
{
Write-Log "The current value of $keyName is $currentValue"
$keyValue = ([int]$currentValue.$keyName -bor $hnsControlFlag)
$keyValue = ([int]$currentValue.$keyName -bor $keyValue)
}
Enable-WindowsFixInPath -Path $keyPath -Name $keyName -Value $keyValue -Type $keyType
}
Expand Down

0 comments on commit 875c0b0

Please sign in to comment.