mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-22 13:05:36 +03:00
Small code review update -- use CamelCase
This commit is contained in:
parent
217124cb3b
commit
e5c1211e17
1 changed files with 3 additions and 3 deletions
6
app.go
6
app.go
|
@ -166,10 +166,10 @@ func main() {
|
|||
}
|
||||
}()
|
||||
|
||||
signal_channel := make(chan os.Signal)
|
||||
signal.Notify(signal_channel, syscall.SIGINT, syscall.SIGTERM, syscall.SIGHUP, syscall.SIGQUIT)
|
||||
signalChannel := make(chan os.Signal)
|
||||
signal.Notify(signalChannel, syscall.SIGINT, syscall.SIGTERM, syscall.SIGHUP, syscall.SIGQUIT)
|
||||
go func() {
|
||||
<-signal_channel
|
||||
<-signalChannel
|
||||
cleanup()
|
||||
os.Exit(0)
|
||||
}()
|
||||
|
|
Loading…
Reference in a new issue