From 786e3c5b03978b85336b73dbce743f4a707f8595 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Fri, 12 Oct 2018 14:55:13 +0100 Subject: Fix version display to include a newline --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 20979aa8..10907c01 100644 --- a/main.go +++ b/main.go @@ -348,7 +348,7 @@ func createAdminHTTPSListener(config *appConfig) []io.Closer { func printVersion(showVersion bool, version string) { if showVersion { - fmt.Fprintf(os.Stderr, version) + fmt.Fprintf(os.Stderr, "%s\n", version) os.Exit(0) } } -- cgit v1.2.3