From 3f96e026903aedcc10c567869014af98318d6bad Mon Sep 17 00:00:00 2001 From: xiaost Date: Wed, 29 Mar 2017 16:31:43 +0800 Subject: [PATCH] fix print version --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 112ca74..86639ab 100644 --- a/main.go +++ b/main.go @@ -49,7 +49,8 @@ func main() { flag.Parse() if printVersion { - fmt.Println("Blobcached %s", VERSION) + fmt.Println("Blobcached", VERSION) + return } l, err := net.Listen("tcp", bindAddr)