summaryrefslogtreecommitdiff
path: root/src/rhctl/main.go
diff options
context:
space:
mode:
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)
//**************************************************