summaryrefslogtreecommitdiff
path: root/src/rhctl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rhctl')
-rw-r--r--src/rhctl/main.go8
1 files changed, 5 insertions, 3 deletions
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")
+ }()
}
//**************************************************