diff options
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; } |