1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-19 18:47:03 +00:00

Resolve linter errors exposed by fixed Makefile

- TravisCI didn't like "POSIX" ::= syntax
This commit is contained in:
James Hillyerd
2018-03-09 22:01:43 -08:00
parent f8c30a678a
commit 94167fa313
10 changed files with 19 additions and 8 deletions

View File

@@ -128,7 +128,7 @@ func openLogFile() error {
var err error
logf, err = os.OpenFile(logfname, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0666)
if err != nil {
return fmt.Errorf("Failed to create %v: %v\n", logfname, err)
return fmt.Errorf("failed to create %v: %v", logfname, err)
}
golog.SetOutput(logf)
Tracef("Opened new logfile")