5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-12-22 18:45:40 +00:00

gofmt -s -w yggdrasil.go

This commit is contained in:
Neil Alexander 2018-02-18 21:32:55 +00:00
parent 0176d25235
commit aef62afb1b

View File

@ -310,8 +310,8 @@ func main() {
signal.Notify(c, os.Interrupt, syscall.SIGTERM)
// Create a function to capture the service being stopped on Windows
winTerminate := func() {
c <- os.Interrupt
}
c <- os.Interrupt
}
minwinsvc.SetOnExit(winTerminate)
// Wait for the terminate/interrupt signal
<-c