Removed unnecessary assignment

This commit is contained in:
GoodiesHQ 2025-11-06 03:38:57 -08:00
parent 736611da5d
commit a7e918ee63

View file

@ -75,7 +75,7 @@ func main() {
log.Info().Msg("cfdns stopped")
return
case <-time.After(cfg.Frequency):
case _, _ = <-watcher:
case <-watcher:
// check file modification time and reload if changed
log.Info().Msg("configuration file changed, reloading...")
cfg, err = config.LoadConfig(info.ConfigFile)