Fix broken regedit paths
This commit is contained in:
parent
141b8290da
commit
8a59b54295
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ $null = New-Module {
|
|||
[string] $path = $null;
|
||||
|
||||
if ($UserKey) {
|
||||
$path = "$($UserKey.PSPath)\$runOncePath";
|
||||
$path = Join-Path ($UserKey.PSPath) $runOncePath;
|
||||
} else {
|
||||
$path = $systemRunOncePath;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue