Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
fixed a few spelling mistakes in a comment.
  • Loading branch information
zolong1 committed Oct 27, 2019
1 parent 5e9a3d1 commit e791d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wumgr/GPO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ static public void ConfigSvc(string name, ServiceStartMode mode)
if (rule.IdentityReference.Value.Equals(FileOps.SID_System))
ac.RemoveAccessRule(rule);
}
// Note: windows tryes to re enable this services so we need to remove system write access
// Note: windows trys to re-enable this service so we need to remove system write access

This comment has been minimized.

Copy link
@koitsu

koitsu May 12, 2023

"tries", not "trys"

if (mode == ServiceStartMode.Disabled) // add new rule
ac.AddAccessRule(new RegistryAccessRule(new SecurityIdentifier(FileOps.SID_System), RegistryRights.FullControl, AccessControlType.Deny));
subKey.SetAccessControl(ac);
Expand Down

0 comments on commit e791d35

Please sign in to comment.