diff options
author | KatolaZ <katolaz@freaknet.org> | 2017-07-15 01:35:36 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2017-07-15 01:35:36 +0100 |
commit | 74f8a74ecf8284fd4182cabab797f17bb18e7032 (patch) | |
tree | fccf6ded5d4a894b5863039b99ce977023bd0f79 /config.go | |
parent | 726b399e4747032a3d052339cd62c57ae5b6767c (diff) |
Added Makefile -- gofmt
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -29,7 +29,7 @@ func ReadGlobalConfig(fname string) *SCORSHmaster { } fmt.Printf("%s", cfg) - + if cfg.Logfile != "" { f, err := os.OpenFile(cfg.Logfile, os.O_APPEND|os.O_CREATE|os.O_RDWR, 0600) if err != nil { @@ -40,7 +40,7 @@ func ReadGlobalConfig(fname string) *SCORSHmaster { } if cfg.LogPrefix != "" { - log.SetPrefix(cfg.LogPrefix+ " ") + log.SetPrefix(cfg.LogPrefix + " ") } // If the user has not set a spooldir, crash loudly @@ -59,4 +59,3 @@ func ReadGlobalConfig(fname string) *SCORSHmaster { return cfg } - |