aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShenghou Ma <minux@golang.org>2015-01-16 22:08:22 -0500
committerMinux Ma <minux@golang.org>2015-01-19 00:50:50 +0000
commitdca54d7cdda3b88f5136c0ceee3eff99594e0643 (patch)
tree41cd744828255e6a3aa7e3b963c1d0059550fd7d /src
parent020637daa979cff4035e68b09802e045456fa943 (diff)
downloadgo-dca54d7cdda3b88f5136c0ceee3eff99594e0643.tar.xz
cmd/dist: do not leave go-tool-dist-* temporary directories behind
Change-Id: I3f6ba5591130b2c4762d33bd4553220765ad9fc5 Reviewed-on: https://go-review.googlesource.com/2996 Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/dist/util.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/dist/util.go b/src/cmd/dist/util.go
index 4628eead80..96632a05ab 100644
--- a/src/cmd/dist/util.go
+++ b/src/cmd/dist/util.go
@@ -397,6 +397,7 @@ func main() {
xinit()
xmain()
+ xexit(0)
}
// xsamefile reports whether f1 and f2 are the same file (or dir)