Syntax for newer version of go
This commit is contained in:
parent
ce38d64c09
commit
40c48191d3
@ -12,7 +12,7 @@ const code int = 14101992
|
||||
func signalCatcher() {
|
||||
c := make(chan os.Signal)
|
||||
signal.Notify(c)
|
||||
for range c {
|
||||
for _,_ = range c {
|
||||
//fmt.Printf("Signal received: %v", sig)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user