summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-pt')
-rw-r--r--tracker-pt/ftnoir_tracker_pt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp
index ea5346f6..194fd423 100644
--- a/tracker-pt/ftnoir_tracker_pt.cpp
+++ b/tracker-pt/ftnoir_tracker_pt.cpp
@@ -53,7 +53,8 @@ void Tracker_PT::run()
{
portable::set_curthread_name("tracker/pt");
- maybe_reopen_camera();
+ if (!maybe_reopen_camera())
+ return;
while(!isInterruptionRequested())
{