Commit 5ba08f42 authored by Andrew Gerrand's avatar Andrew Gerrand

misc/goplay: remove redundant chdir

R=ajstarks, r
CC=golang-dev
https://golang.org/cl/5687070
parent 89fd4dd7
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment