Fix non-functioning code
This commit is contained in:
parent
0b2e2744b0
commit
eed0ddc82b
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class Context {
|
|||
Push-Location $userKey.PSPath;
|
||||
$result = Get-Item "Software\Microsoft\Windows\CurrentVersion\RunOnce";
|
||||
Pop-Location;
|
||||
return $result.PSPath;
|
||||
return $result;
|
||||
}
|
||||
|
||||
[void] RegisterReboot() {
|
||||
|
|
Loading…
Reference in a new issue