From: Shenghou Ma Date: Sat, 17 Jan 2015 03:08:22 +0000 (-0500) Subject: cmd/dist: do not leave go-tool-dist-* temporary directories behind X-Git-Tag: go1.5beta1~2319 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=dca54d7cdda3b88f5136c0ceee3eff99594e0643;p=gostls13.git 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 --- 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)