Skip to content

Commit

Permalink
fix: use correct variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
timmy-wright committed Feb 25, 2025
1 parent 60f81cf commit 1bdab2b
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 1bdab2b

Please sign in to comment.