diff options
author | KatolaZ <katolaz@freaknet.org> | 2017-08-07 10:54:35 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2017-08-07 10:54:35 +0100 |
commit | b31fe15e0d13f9064e26b117541633496c0c3307 (patch) | |
tree | ad9fc1e3077b514c98af1d6a2cbd78e79f341c9f /config.go | |
parent | 096b3fd2867d7bb2d3cd1f85d8806c651b26d625 (diff) |
Renaming: "tags" -> "commands"; "commands" -> "actions"
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -27,10 +27,10 @@ func readGlobalConfig(fname string) *master { //fmt.Printf("%s", cfg) - if cfg.Logfile != "" { - f, err := os.OpenFile(cfg.Logfile, os.O_APPEND|os.O_CREATE|os.O_RDWR, 0600) + if cfg.LogFile != "" { + f, err := os.OpenFile(cfg.LogFile, os.O_APPEND|os.O_CREATE|os.O_RDWR, 0600) if err != nil { - log.Fatal("Error opening logfile: ", cfg.Logfile, err) + log.Fatal("Error opening logfile: ", cfg.LogFile, err) } else { log.SetOutput(io.Writer(f)) } |