summaryrefslogtreecommitdiffstats
path: root/monitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.cpp')
-rw-r--r--monitor.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/monitor.cpp b/monitor.cpp
index 5bc4742..159127d 100644
--- a/monitor.cpp
+++ b/monitor.cpp
@@ -86,9 +86,12 @@ void Monitor::analyzeEvent()
bus.call_noreply(method);
}
- // This marks the completion of handling the gpio assertion
- // and the app can exit
- complete = true;
+ if (!continueAfterKeyPress)
+ {
+ // This marks the completion of handling the gpio assertion
+ // and the app can exit
+ complete = true;
+ }
return;
}
}
OpenPOWER on IntegriCloud