summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rhctl/main.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/rhctl/main.go b/src/rhctl/main.go
index 809dd62..b0b57e6 100644
--- a/src/rhctl/main.go
+++ b/src/rhctl/main.go
@@ -95,11 +95,10 @@ func main() {
}
servers = append(servers, server)
}
- // TODO: re-enable this!
- // 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)