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 {
48
48
// Control sends state change request c to the service s. It returns the most
49
49
// recent status the service reported to the service control manager, and an
50
50
// 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,
53
53
// ERROR_SERVICE_CANNOT_ACCEPT_CTRL, or ERROR_SERVICE_NOT_ACTIVE.
54
54
func (s * Service ) Control (c svc.Cmd ) (svc.Status , error ) {
55
55
var t windows.SERVICE_STATUS
You can’t perform that action at this time.
0 commit comments