1
0
Fork 0
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:
Emma 2018-09-30 07:44:57 -06:00
parent 3ba6775d9e
commit b4960e77ed

View file

@ -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)