diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-09-24 22:27:26 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-09-24 22:27:26 (GMT) |
commit | 17a799044bc20d18a07bbd12270ce3c079799dd9 (patch) | |
tree | 0877781335518b8d2b7212b006c2b0bf34b639d7 /src/rhctl | |
parent | a547fe88a42d1e0aebfc01d5d90dd21fc101fc2e (diff) |
some minor cleanup
Diffstat (limited to 'src/rhctl')
-rw-r--r-- | src/rhctl/main.go | 9 |
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) |