]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: do not leave go-tool-dist-* temporary directories behind
authorShenghou Ma <minux@golang.org>
Sat, 17 Jan 2015 03:08:22 +0000 (22:08 -0500)
committerMinux Ma <minux@golang.org>
Mon, 19 Jan 2015 00:50:50 +0000 (00:50 +0000)
Change-Id: I3f6ba5591130b2c4762d33bd4553220765ad9fc5
Reviewed-on: https://go-review.googlesource.com/2996
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/cmd/dist/util.go

index 4628eead80fe2f4c5a2c8ac1b600f5a922254606..96632a05abfd308b8df8d8c58ea4a14a9e1c4772 100644 (file)
@@ -397,6 +397,7 @@ func main() {
 
        xinit()
        xmain()
+       xexit(0)
 }
 
 // xsamefile reports whether f1 and f2 are the same file (or dir)