]> Cypherpunks repositories - gostls13.git/commitdiff
misc/goplay: remove redundant chdir
authorAndrew Gerrand <adg@golang.org>
Tue, 21 Feb 2012 22:37:38 +0000 (09:37 +1100)
committerAndrew Gerrand <adg@golang.org>
Tue, 21 Feb 2012 22:37:38 +0000 (09:37 +1100)
R=ajstarks, r
CC=golang-dev
https://golang.org/cl/5687070

misc/goplay/goplay.go

index 82523e3fd16cd0702e973c5f01b9de5f3dc71bbb..c113abb6f27071eb5ac5625ea1f1e5b10477fddc 100644 (file)
@@ -39,12 +39,6 @@ func main() {
                }
        }()
 
-       // go to TempDir
-       err := os.Chdir(os.TempDir())
-       if err != nil {
-               log.Fatal(err)
-       }
-
        http.HandleFunc("/", FrontPage)
        http.HandleFunc("/compile", Compile)
        log.Fatal(http.ListenAndServe(*httpListen, nil))