summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-10-22 17:40:40 +0200
committerEthan Yonker <dees_troy@teamw.in>2014-10-22 17:48:16 +0200
commitffbd6ffc217d1a1679a60de34dc2ca7510897fd3 (patch)
treee06e86d23458cbe8e6e01e9e4e08098f12221117
parentAdd support for temperatures in tenths of a degree Celsius (diff)
downloadandroid_bootable_recovery-ffbd6ffc217d1a1679a60de34dc2ca7510897fd3.tar
android_bootable_recovery-ffbd6ffc217d1a1679a60de34dc2ca7510897fd3.tar.gz
android_bootable_recovery-ffbd6ffc217d1a1679a60de34dc2ca7510897fd3.tar.bz2
android_bootable_recovery-ffbd6ffc217d1a1679a60de34dc2ca7510897fd3.tar.lz
android_bootable_recovery-ffbd6ffc217d1a1679a60de34dc2ca7510897fd3.tar.xz
android_bootable_recovery-ffbd6ffc217d1a1679a60de34dc2ca7510897fd3.tar.zst
android_bootable_recovery-ffbd6ffc217d1a1679a60de34dc2ca7510897fd3.zip
Diffstat (limited to '')
-rw-r--r--gui/gui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/gui.cpp b/gui/gui.cpp
index 80063399f..2c6418e4c 100644
--- a/gui/gui.cpp
+++ b/gui/gui.cpp
@@ -936,6 +936,10 @@ extern "C" int gui_console_only(void)
return -1;
gGuiConsoleTerminate = 0;
+
+ if (gGuiConsoleRunning)
+ return 0;
+
gGuiConsoleRunning = 1;
// Start by spinning off an input handler.