From 4ecbf8c12ca4447ba22883b107c28cf0bab3a622 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Wed, 24 Oct 2018 21:08:49 -0400 Subject: [PATCH] Remove recovery_dtbo when cleanup --- native/jni/magiskboot/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/native/jni/magiskboot/main.cpp b/native/jni/magiskboot/main.cpp index 776975de8..ea755693a 100644 --- a/native/jni/magiskboot/main.cpp +++ b/native/jni/magiskboot/main.cpp @@ -122,6 +122,7 @@ int main(int argc, char *argv[]) { unlink(SECOND_FILE); unlink(DTB_FILE); unlink(EXTRA_FILE); + unlink(RECV_DTBO_FILE); for (int i = 0; SUP_EXT_LIST[i]; ++i) { sprintf(name, "%s.%s", RAMDISK_FILE, SUP_EXT_LIST[i]); unlink(name);