summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-10-02 02:02:14 +0200
committerGerrit Code Review <gerrit@redmine>2012-10-02 02:02:14 +0200
commitad6614f2b93dfbdce9604f6991af694ea617a2e3 (patch)
tree8255fcc4ccc6e63f22c940d422f8bb0fb04423e7
parentFix error message on encrypted devices (diff)
parentEnsure that actions are not simulated in ORS (diff)
downloadandroid_bootable_recovery-ad6614f2b93dfbdce9604f6991af694ea617a2e3.tar
android_bootable_recovery-ad6614f2b93dfbdce9604f6991af694ea617a2e3.tar.gz
android_bootable_recovery-ad6614f2b93dfbdce9604f6991af694ea617a2e3.tar.bz2
android_bootable_recovery-ad6614f2b93dfbdce9604f6991af694ea617a2e3.tar.lz
android_bootable_recovery-ad6614f2b93dfbdce9604f6991af694ea617a2e3.tar.xz
android_bootable_recovery-ad6614f2b93dfbdce9604f6991af694ea617a2e3.tar.zst
android_bootable_recovery-ad6614f2b93dfbdce9604f6991af694ea617a2e3.zip
-rw-r--r--openrecoveryscript.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/openrecoveryscript.cpp b/openrecoveryscript.cpp
index 88d54aca4..9317ae7bc 100644
--- a/openrecoveryscript.cpp
+++ b/openrecoveryscript.cpp
@@ -79,6 +79,7 @@ int OpenRecoveryScript::run_script_file(void) {
char *val_start, *tok;
if (fp != NULL) {
+ DataManager_SetIntValue(TW_SIMULATE_ACTIONS, 0);
while (fgets(script_line, SCRIPT_COMMAND_SIZE, fp) != NULL && ret_val == 0) {
cindex = 0;
line_len = strlen(script_line);