We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eea2f6 commit 9859284Copy full SHA for 9859284
windows/svc/mgr/service.go
@@ -48,7 +48,7 @@ func (s *Service) Start(args ...string) error {
48
// Control sends state change request c to the service s. It returns the most
49
// recent status the service reported to the service control manager, and an
50
// error if the state change request was not accepted.
51
-// 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
52
// succeeded, or if it failed with error ERROR_INVALID_SERVICE_CONTROL,
53
// ERROR_SERVICE_CANNOT_ACCEPT_CTRL, or ERROR_SERVICE_NOT_ACTIVE.
54
func (s *Service) Control(c svc.Cmd) (svc.Status, error) {
0 commit comments