summaryrefslogtreecommitdiff
path: root/misc/goplay/goplay.go
diff options
context:
space:
mode:
Diffstat (limited to 'misc/goplay/goplay.go')
-rw-r--r--misc/goplay/goplay.go4
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.