diff --git a/helper/winsvc/service_windows.go b/helper/winsvc/service_windows.go index 0f71e18bbe7d..c46ab8a6f4d3 100644 --- a/helper/winsvc/service_windows.go +++ b/helper/winsvc/service_windows.go @@ -24,8 +24,6 @@ func init() { func (serviceWindows) Execute(args []string, r <-chan wsvc.ChangeRequest, s chan<- wsvc.Status) (svcSpecificEC bool, exitCode uint32) { const accCommands = wsvc.AcceptStop | wsvc.AcceptShutdown - s <- wsvc.Status{State: wsvc.StartPending} - s <- wsvc.Status{State: wsvc.Running, Accepts: accCommands} for { c := <-r