cmd: use Fprintln instead of Fprint for Fail. (#5069)

This commit is contained in:
Jacob Hoffman-Andrews 2020-09-01 17:42:11 -07:00 committed by GitHub
parent 64127916b6
commit 5a3daf448c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ func newStatsRegistry(addr string, logger blog.Logger) prometheus.Registerer {
func Fail(msg string) {
logger := blog.Get()
logger.AuditErr(msg)
fmt.Fprint(os.Stderr, msg)
fmt.Fprintln(os.Stderr, msg)
os.Exit(1)
}