diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-02-14 13:23:51 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-02-14 13:23:51 +0100 |
commit | 758ff64c69e34965f8af5b2d6ffd65e8d7ab2150 (patch) | |
tree | 6d6b34f8c678862fe9b56c945a7b63f68502c245 /misc/goplay | |
parent | 3e45412327a2654a77944249962b3652e6142299 (diff) | |
download | golang-upstream/2011-02-01.1.tar.gz |
Imported Upstream version 2011-02-01.1upstream/2011-02-01.1
Diffstat (limited to 'misc/goplay')
-rw-r--r-- | misc/goplay/goplay.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/goplay/goplay.go b/misc/goplay/goplay.go index 5923360f6..bc11bb759 100644 --- a/misc/goplay/goplay.go +++ b/misc/goplay/goplay.go @@ -42,7 +42,7 @@ func main() { case "386": archChar = "8" default: - log.Exitln("unrecognized GOARCH:", runtime.GOARCH) + log.Fatalln("unrecognized GOARCH:", runtime.GOARCH) } // source of unique numbers @@ -54,7 +54,7 @@ func main() { http.HandleFunc("/", FrontPage) http.HandleFunc("/compile", Compile) - log.Exit(http.ListenAndServe(*httpListen, nil)) + log.Fatal(http.ListenAndServe(*httpListen, nil)) } // FrontPage is an HTTP handler that renders the goplay interface. |