mirror of
https://github.com/shouptech/tempgopher.git
synced 2026-02-03 16:49:42 +00:00
Move a comment
This commit is contained in:
parent
3ba6775d9e
commit
b4960e77ed
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -36,7 +36,6 @@ func main() {
|
|||
// run is tracking whether or not the thermostats should run
|
||||
run := true
|
||||
|
||||
// Launch the thermostat go routines
|
||||
sig := make(chan os.Signal)
|
||||
signal.Notify(sig, os.Interrupt, syscall.SIGTERM)
|
||||
signal.Notify(sig, os.Interrupt, syscall.SIGINT)
|
||||
|
|
@ -46,6 +45,7 @@ func main() {
|
|||
run = false
|
||||
}()
|
||||
|
||||
// Launch the thermostat go routines
|
||||
var wg sync.WaitGroup
|
||||
for _, sensor := range config.Sensors {
|
||||
wg.Add(1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue