Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
johanix committed Jun 10, 2024
1 parent b7a0d48 commit 5e7f01d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ func mainloop(conf *Config, configfile *string, td *TemData) {
case <-hupper:
// config file to use has already been set in main()
if err := viper.ReadInConfig(); err == nil {
fmt.Fprintln(os.Stderr, "Using config file:", viper.ConfigFileUsed())
fmt.Fprintln(os.Stderr, "Using config file:", *configfile)
} else {
TEMExiter("Could not load config %s: Error: %v", viper.ConfigFileUsed(), err)
TEMExiter("Could not load config %s: Error: %v", *configfile, err)
}

log.Println("mainloop: SIGHUP received. Forcing refresh of all configured zones.")
Expand Down

0 comments on commit 5e7f01d

Please sign in to comment.