diff options
author | Matt Mower <mowerm@gmail.com> | 2015-02-26 06:50:55 +0100 |
---|---|---|
committer | Dees Troy <dees_troy@teamw.in> | 2015-03-05 04:20:53 +0100 |
commit | 5aa29ab3c79be328574a34bd3aef33fc382609f9 (patch) | |
tree | 1816aff61173d53aaa87c313cd8be05b29a6db11 /gui/action.cpp | |
parent | GUI: Use valid XML syntax (diff) | |
download | android_bootable_recovery-5aa29ab3c79be328574a34bd3aef33fc382609f9.tar android_bootable_recovery-5aa29ab3c79be328574a34bd3aef33fc382609f9.tar.gz android_bootable_recovery-5aa29ab3c79be328574a34bd3aef33fc382609f9.tar.bz2 android_bootable_recovery-5aa29ab3c79be328574a34bd3aef33fc382609f9.tar.lz android_bootable_recovery-5aa29ab3c79be328574a34bd3aef33fc382609f9.tar.xz android_bootable_recovery-5aa29ab3c79be328574a34bd3aef33fc382609f9.tar.zst android_bootable_recovery-5aa29ab3c79be328574a34bd3aef33fc382609f9.zip |
Diffstat (limited to '')
-rw-r--r-- | gui/action.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/action.cpp b/gui/action.cpp index f9de4e9d8..16a550ba1 100644 --- a/gui/action.cpp +++ b/gui/action.cpp @@ -1321,6 +1321,10 @@ int GUIAction::terminalcommand(std::string arg) if (simulate) { simulate_progress_bar(); operation_end(op_status); + } else if (arg == "exit") { + LOGINFO("Exiting terminal\n"); + operation_end(op_status); + page("main"); } else { command = "cd \"" + cmdpath + "\" && " + arg + " 2>&1";; LOGINFO("Actual command is: '%s'\n", command.c_str()); |