Removed unnecessary assignment
This commit is contained in:
parent
736611da5d
commit
a7e918ee63
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue