misc/goplay: remove redundant chdir

R=ajstarks, r
CC=golang-dev
https://golang.org/cl/5687070
This commit is contained in:
Andrew Gerrand 2012-02-22 09:37:38 +11:00
parent 89fd4dd766
commit 5ba08f4215

View 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))