diff --git a/Scripts/Features/RegistryBackupValidation.ps1 b/Scripts/Features/RegistryBackupValidation.ps1 index d74feeb..db409dc 100644 --- a/Scripts/Features/RegistryBackupValidation.ps1 +++ b/Scripts/Features/RegistryBackupValidation.ps1 @@ -385,7 +385,7 @@ function Find-RegistryAllowListPlanMatch { continue } - $subKeyPrefix = "$($plan.NormalizedPath)\\" + $subKeyPrefix = "$($plan.NormalizedPath)\" if ($NormalizedPath.StartsWith($subKeyPrefix, [System.StringComparison]::OrdinalIgnoreCase)) { return [PSCustomObject]@{ IsDescendant = $true