Reword comment

This commit is contained in:
Craig Davison
2023-04-15 00:28:12 -06:00
parent 5eea2f6464
commit 985928484d

View File

@@ -48,7 +48,7 @@ func (s *Service) Start(args ...string) error {
// Control sends state change request c to the service s. It returns the most
// recent status the service reported to the service control manager, and an
// error if the state change request was not accepted.
// Note that the service status is only returned if the status change request
// Note that the service status is only populated if the status change request
// succeeded, or if it failed with error ERROR_INVALID_SERVICE_CONTROL,
// ERROR_SERVICE_CANNOT_ACCEPT_CTRL, or ERROR_SERVICE_NOT_ACTIVE.
func (s *Service) Control(c svc.Cmd) (svc.Status, error) {