1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

add loop exit log

This commit is contained in:
Timothy 2014-05-22 23:20:20 +08:00
parent eed9320bae
commit 1c7de425f7

View File

@ -78,4 +78,7 @@ func dns_loop(loop chan bool) {
//Interval is 5 minutes
time.Sleep(time.Second * 60 * 5)
}
log.Info("Loop exited...")
loop <- false
}