summaryrefslogtreecommitdiff
path: root/src/rhctl
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-04-03 19:10:06 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-04-03 19:10:06 (GMT)
commitc20ae87122527771487d9f64ec8c0b243e8a63e4 (patch)
treeea09dd01501a57b909c13647a252186f699ceedf /src/rhctl
parent862c7ec9d37221b04943272f8c69f62e43cafcd2 (diff)
run telnet client as go-routine...
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")
+ }()
}
//**************************************************