summaryrefslogtreecommitdiffstats
path: root/openrecoveryscript.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-10-02 01:46:11 +0200
committerDees_Troy <dees_troy@teamw.in>2012-10-02 01:46:11 +0200
commit3ac71a5a82b124e78e68044f7c3b4ab2561c843a (patch)
tree3a37fb1b204abd78aa4739b52107c2c3b6a6ac95 /openrecoveryscript.cpp
parentUpdate ORS and recovery commands (diff)
downloadandroid_bootable_recovery-3ac71a5a82b124e78e68044f7c3b4ab2561c843a.tar
android_bootable_recovery-3ac71a5a82b124e78e68044f7c3b4ab2561c843a.tar.gz
android_bootable_recovery-3ac71a5a82b124e78e68044f7c3b4ab2561c843a.tar.bz2
android_bootable_recovery-3ac71a5a82b124e78e68044f7c3b4ab2561c843a.tar.lz
android_bootable_recovery-3ac71a5a82b124e78e68044f7c3b4ab2561c843a.tar.xz
android_bootable_recovery-3ac71a5a82b124e78e68044f7c3b4ab2561c843a.tar.zst
android_bootable_recovery-3ac71a5a82b124e78e68044f7c3b4ab2561c843a.zip
Diffstat (limited to '')
-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);