From c20ae87122527771487d9f64ec8c0b243e8a63e4 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 3 Apr 2016 21:10:06 +0200 Subject: run telnet client as go-routine... diff --git a/src/rhctl/main.go b/src/rhctl/main.go index 6c8d750..b1df1a9 100644 --- a/src/rhctl/main.go +++ b/src/rhctl/main.go @@ -135,9 +135,11 @@ func main() { // running non-essential parts aka clients if conf.Clients.Telnet.Address != "" { - rhl.Printf("starting telnet interface") - telnet.Run() - rhl.Printf("telnet interface just stopped") + go func() { + rhl.Printf("starting telnet interface") + telnet.Run() + rhl.Printf("telnet interface just stopped") + }() } //************************************************** -- cgit v0.10.2