aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-compliance/cec-compliance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/cec-compliance/cec-compliance.cpp')
-rw-r--r--utils/cec-compliance/cec-compliance.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/cec-compliance/cec-compliance.cpp b/utils/cec-compliance/cec-compliance.cpp
index 0d3a373b..ad81d80e 100644
--- a/utils/cec-compliance/cec-compliance.cpp
+++ b/utils/cec-compliance/cec-compliance.cpp
@@ -1308,6 +1308,11 @@ int main(int argc, char **argv)
printf("Find remote devices:\n");
printf("\tPolling: %s\n", ok(poll_remote_devs(&node)));
+ if (!node.remote_la_mask) {
+ printf("\nFAIL: No remote devices found, exiting.\n");
+ exit(1);
+ }
+
if (options[OptTestAdapter])
testAdapter(node, laddrs, device);
printf("\n");

Privacy Policy