Skip to content

Commit 4c0bcbb

Browse files
committed
amend comment
1 parent 1c3db80 commit 4c0bcbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

windows/svc/mgr/service.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ func (s *Service) Start(args ...string) error {
4848
// Control sends state change request c to the service s. It returns the most
4949
// recent status the service reported to the service control manager, and an
5050
// error if the state change request was not accepted.
51-
// Note that the service status is only populated if the status change request
52-
// succeeded, or if it failed with error ERROR_INVALID_SERVICE_CONTROL,
51+
// Note that the returned service status is only set if the status change
52+
// request succeeded, or if it failed with error ERROR_INVALID_SERVICE_CONTROL,
5353
// ERROR_SERVICE_CANNOT_ACCEPT_CTRL, or ERROR_SERVICE_NOT_ACTIVE.
5454
func (s *Service) Control(c svc.Cmd) (svc.Status, error) {
5555
var t windows.SERVICE_STATUS

0 commit comments

Comments
 (0)