summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/list-cameras.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/list-cameras.cpp b/test/list-cameras.cpp
index 55551d7e..e6a407ac 100644
--- a/test/list-cameras.cpp
+++ b/test/list-cameras.cpp
@@ -21,7 +21,10 @@ protected:
int init()
{
cm_ = new CameraManager();
- cm_->start();
+ if (cm_->start()) {
+ std::cout << "Failed to start camera" << std::endl;
+ return TestFail;
+ }
return 0;
}