From fe1cd214133b02aef5112a288ff5090e27f22aaf Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Fri, 14 Sep 2018 08:59:16 +0200 Subject: [PATCH] Fixed logging message --- cli/CmdStart.go | 2 +- version/Version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/CmdStart.go b/cli/CmdStart.go index a6a39de..5aed4a6 100644 --- a/cli/CmdStart.go +++ b/cli/CmdStart.go @@ -17,7 +17,7 @@ func cmdStart() (cmd *cobra.Command) { // Run the server log.Printf("Simple File Server v%s", version.VERSION) log.Printf("Compiled with Go %s", version.GetGoVersion()) - log.Printf("Configuration: root directory='%s', bind to='%s", configData.RootDirectory, configData.BindHostAndPort) + log.Printf("Configuration: root directory='%s', bind to='%s'", configData.RootDirectory, configData.BindHostAndPort) log.Println("Start the file server now...") http.Handle("/", http.FileServer(http.Dir(configData.RootDirectory))) diff --git a/version/Version.go b/version/Version.go index eebae2c..c6fbd63 100644 --- a/version/Version.go +++ b/version/Version.go @@ -5,7 +5,7 @@ import ( "strings" ) -const VERSION = "1.0.1" +const VERSION = "1.0.2" func GetGoVersion() (ver string) { ver = runtime.Version()