mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-28 04:46:44 -04:00
windows/svc/mgr: fix misspelled word in service.go
fix misspelled word "service" in line 62 Change-Id: I646f073d5604c36775d27c478a7b4b007f70ff62 GitHub-Last-Rev: 79901a6ca34c154727b6d816e7432cef6ed45b16 GitHub-Pull-Request: golang/sys#107 Reviewed-on: https://go-review.googlesource.com/c/sys/+/314573 Trust: Alex Brainman <alex.brainman@gmail.com> Trust: Emmanuel Odeke <emmanuel@orijtech.com> Run-TryBot: Alex Brainman <alex.brainman@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
This commit is contained in:
@@ -46,7 +46,7 @@ func (s *Service) Start(args ...string) error {
|
||||
return windows.StartService(s.Handle, uint32(len(args)), p)
|
||||
}
|
||||
|
||||
// Control sends state change request c to the servce s.
|
||||
// Control sends state change request c to the service s.
|
||||
func (s *Service) Control(c svc.Cmd) (svc.Status, error) {
|
||||
var t windows.SERVICE_STATUS
|
||||
err := windows.ControlService(s.Handle, uint32(c), &t)
|
||||
|
||||
Reference in New Issue
Block a user