diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-12-06 22:15:09 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-12-06 22:15:09 (GMT) |
commit | 940d34b97d60f0ea5aa3525e63eba02db4243ff5 (patch) | |
tree | db3974e0ee9ab137af9c2b03116e7fe5d039f08d /src/rhctl/main.go | |
parent | b2a8e6da5ef1dbdaa06d52fd9e8d83772504d16d (diff) |
incoporated telgo changes
Diffstat (limited to 'src/rhctl/main.go')
-rw-r--r-- | src/rhctl/main.go | 6 |
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) //************************************************** |