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.go13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/rhctl/main.go b/src/rhctl/main.go
index b1df1a9..86e7aec 100644
--- a/src/rhctl/main.go
+++ b/src/rhctl/main.go
@@ -95,15 +95,14 @@ func main() {
}
servers = append(servers, server)
}
- // TODO: re-enable this check
- // if len(servers) <= 0 {
- // rhl.Printf("Error: there is no playout server configured...")
- // return
- // }
+ if len(servers) <= 0 {
+ rhl.Printf("Error: there is no playout server configured...")
+ return
+ }
ctrl := SwitchControlInit(conf, sw, servers)
- // initializing non-essential parts aka clients
+ // initializing non-essential parts, like control-interfaces aka clients
telnet := TelnetInit(conf, ctrl)
//**************************************************
@@ -133,7 +132,7 @@ func main() {
stop <- true
}()
- // running non-essential parts aka clients
+ // running non-essential parts
if conf.Clients.Telnet.Address != "" {
go func() {
rhl.Printf("starting telnet interface")