summaryrefslogtreecommitdiff
path: root/src/rhctl/main.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-12-06 22:15:09 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-12-06 22:15:09 (GMT)
commit940d34b97d60f0ea5aa3525e63eba02db4243ff5 (patch)
treedb3974e0ee9ab137af9c2b03116e7fe5d039f08d /src/rhctl/main.go
parentb2a8e6da5ef1dbdaa06d52fd9e8d83772504d16d (diff)
incoporated telgo changes
Diffstat (limited to 'src/rhctl/main.go')
-rw-r--r--src/rhctl/main.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rhctl/main.go b/src/rhctl/main.go
index b0b57e6..2302e6b 100644
--- a/src/rhctl/main.go
+++ b/src/rhctl/main.go
@@ -103,7 +103,11 @@ func main() {
ctrl := SwitchControlInit(conf, sw, servers)
// initializing non-essential parts, like control-interfaces aka clients
- telnet := TelnetInit(conf, ctrl)
+ telnet, err := TelnetInit(conf, ctrl)
+ if err != nil {
+ rhl.Printf("Error: failed to initialize telnet interface: %v", err)
+ return
+ }
web := WebInit(conf, ctrl)
//**************************************************