diff options
author | sconosciuto <sconosciuto.git@gmail.com> | 2013-05-06 00:00:39 +0200 |
---|---|---|
committer | sconosciuto <sconosciuto.git@gmail.com> | 2013-05-06 10:39:44 +0200 |
commit | fcf5a008b9f971e60acfa7bfd821b04aec2b2a7f (patch) | |
tree | 09900213b213a25e53b462f22262b9715aea6456 | |
parent | 884ee9bbf6212b9294d89b6ba8eeabb8e671e506 (diff) | |
download | bootable_recovery-fcf5a008b9f971e60acfa7bfd821b04aec2b2a7f.zip bootable_recovery-fcf5a008b9f971e60acfa7bfd821b04aec2b2a7f.tar.gz bootable_recovery-fcf5a008b9f971e60acfa7bfd821b04aec2b2a7f.tar.bz2 |
Delete sideloaded file once installed
If not deleted, it will be unexpectedly re-installed in case
the user starts and then cancels adb sideload.
Change-Id: Idfea3b5d5c95ab29fd946cd404d1255105105ce3
-rw-r--r-- | adb_install.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/adb_install.c b/adb_install.c index 1c88f1a..b073e68 100644 --- a/adb_install.c +++ b/adb_install.c @@ -152,5 +152,7 @@ apply_from_adb() { ui_print("Installation aborted.\n"); } + remove(ADB_SIDELOAD_FILENAME); + return install_status; } |