File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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.
5454func (s * Service ) Control (c svc.Cmd ) (svc.Status , error ) {
5555 var t windows.SERVICE_STATUS
You can’t perform that action at this time.
0 commit comments