Skip to content

Commit 3f96e02

Browse files
committed
fix print version
1 parent 10182ad commit 3f96e02

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ func main() {
4949
flag.Parse()
5050

5151
if printVersion {
52-
fmt.Println("Blobcached %s", VERSION)
52+
fmt.Println("Blobcached", VERSION)
53+
return
5354
}
5455

5556
l, err := net.Listen("tcp", bindAddr)

0 commit comments

Comments
 (0)