Skip to content

Commit

Permalink
Do not check admin PATH for installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-as committed Nov 8, 2022
1 parent c60b24b commit c826095
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/offinstall_int_test.go
Expand Up @@ -271,9 +271,9 @@ func (suite *OffInstallIntegrationTestSuite) assertShellUpdated(dir string, exis
isAdmin, err := osutils.IsAdmin()
suite.Require().NoError(err)
regKey := `HKCU\Environment`
if isAdmin {
regKey = `HKLM\SYSTEM\ControlSet001\Control\Session Manager\Environment`
}
//if isAdmin {
//regKey = `HKLM\SYSTEM\ControlSet001\Control\Session Manager\Environment`
//}
out, err := exec.Command("reg", "query", regKey, "/v", "Path").Output()
suite.Require().NoError(err)

Expand Down

0 comments on commit c826095

Please sign in to comment.