Skip to content

Commit

Permalink
removed extra start pending signal
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross committed Nov 7, 2019
1 parent 98d36fa commit b2e283f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions helper/winsvc/service_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2e283f

Please sign in to comment.