10666: Formatting fixes.
[arvados.git] / services / crunchstat / crunchstat.go
index 248ec6259db11a94c68b4c602169f107ab531c27..ad433bb3b532fea36610e975a14b6ca750f5b353 100644 (file)
@@ -44,11 +44,11 @@ func main() {
 
        // Print version information if requested
        if *getVersion {
-               fmt.Printf("Version: %s\n", version)
-               os.Exit(0)
+               fmt.Printf("crunchstat %s\n", version)
+               return
        }
 
-       reporter.Logger.Printf("crunchstat %q started", version)
+       reporter.Logger.Printf("crunchstat %s started", version)
 
        if reporter.CgroupRoot == "" {
                reporter.Logger.Fatal("error: must provide -cgroup-root")