diff options
author | Christian Pointner <equinox@spreadspace.org> | 2016-03-26 19:57:22 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2016-03-26 19:57:22 (GMT) |
commit | af3c3e7cf792eb21e5fe9c96237723561644b7c4 (patch) | |
tree | 9ccef4c38060db5088019e2ee375bd35f508909b /src/rhctl/main.go | |
parent | f27fa7e80e6052ce927b064bf9292dd94a480f39 (diff) |
disconnecting serial devices is now properly handled
Diffstat (limited to 'src/rhctl/main.go')
-rw-r--r-- | src/rhctl/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rhctl/main.go b/src/rhctl/main.go index e6164a0..23a7f13 100644 --- a/src/rhctl/main.go +++ b/src/rhctl/main.go @@ -92,6 +92,10 @@ func main() { } servers = append(servers, server) } + if len(servers) <= 0 { + rhl.Printf("Error: there is no playout server configured...") + return + } // running essential parts stop := make(chan bool) |