diff options
author | 2016-12-06 15:07:48 -0800 | |
---|---|---|
committer | 2016-12-06 15:07:48 -0800 | |
commit | ecea1bfeae1211f9a363925c172c0f23062107fb (patch) | |
tree | 99d7fc7c78f261a3ffde997e8354f8134c60bfbe /cmds/installd/commands.cpp | |
parent | f5c3b20f062ca646572ee6c07713eba691971c95 (diff) | |
parent | 6079aa6a8a845d8312435fe3e991bbe14588d018 (diff) |
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Diffstat (limited to 'cmds/installd/commands.cpp')
-rw-r--r-- | cmds/installd/commands.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/installd/commands.cpp b/cmds/installd/commands.cpp index ae52728b1a..bbc5160bc5 100644 --- a/cmds/installd/commands.cpp +++ b/cmds/installd/commands.cpp @@ -2418,6 +2418,7 @@ int move_ab(const char* apk_path, const char* instruction_set, const char* oat_d if (!a_image_path.empty()) { if (!move_ab_path(b_image_path, a_image_path)) { + unlink(a_image_path.c_str()); if (!kIgnoreAppImageFailure) { success = false; } |