summaryrefslogtreecommitdiffstats
path: root/openrecoveryscript.cpp
diff options
context:
space:
mode:
authorthat <github@that.at>2015-01-03 01:59:36 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-01-04 05:34:48 +0100
commitcc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a (patch)
tree1d3407ab420097065a7b91d9ab77c05025866ff9 /openrecoveryscript.cpp
parentFix GUIAction::operation_start (diff)
downloadandroid_bootable_recovery-cc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a.tar
android_bootable_recovery-cc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a.tar.gz
android_bootable_recovery-cc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a.tar.bz2
android_bootable_recovery-cc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a.tar.lz
android_bootable_recovery-cc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a.tar.xz
android_bootable_recovery-cc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a.tar.zst
android_bootable_recovery-cc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a.zip
Diffstat (limited to '')
-rw-r--r--openrecoveryscript.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/openrecoveryscript.cpp b/openrecoveryscript.cpp
index 0b71a42eb..0db55cd44 100644
--- a/openrecoveryscript.cpp
+++ b/openrecoveryscript.cpp
@@ -356,7 +356,8 @@ int OpenRecoveryScript::run_script_file(void) {
gui_print("Starting ADB sideload feature...\n");
DataManager::SetValue("tw_has_cancel", 1);
DataManager::SetValue("tw_cancel_action", "adbsideloadcancel");
- ret_val = apply_from_adb(Sideload_File.c_str());
+ pid_t child_pid;
+ ret_val = apply_from_adb(Sideload_File.c_str(), &child_pid);
DataManager::SetValue("tw_has_cancel", 0);
if (ret_val != 0)
ret_val = 1; // failure