Skip to content

Commit

Permalink
zhengzha
Browse files Browse the repository at this point in the history
  • Loading branch information
Realmonia committed Oct 12, 2022
1 parent 6ca586d commit 5248cf6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions agent/config/config_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,7 @@ func validateConfigFile(configFileName string) (bool, error) {
}
defer windows.LocalFree(handle)

id, err := Sid.String()
if err != nil {
return false, err
}
id := Sid.String()

if id == adminSid {
return true, nil
Expand Down

0 comments on commit 5248cf6

Please sign in to comment.