summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index f883dbf..3d601a5 100644
--- a/main.go
+++ b/main.go
@@ -69,7 +69,9 @@ func main() {
if argv.Daemon == true {
if argv.Gui != nil {
- go doGui()
+ me.myGui.Start() // loads the GUI toolkit
+ doGui() // start making our forge GUI
+ debug() // sits here forever
}
mux := http.NewServeMux()
okHandlerFunc := http.HandlerFunc(okHandler)