Skip to content

Commit

Permalink
Remove unexpected files
Browse files Browse the repository at this point in the history
  • Loading branch information
vvb2060 authored and topjohnwu committed Feb 26, 2023
1 parent 85d9756 commit 2c53356
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions native/src/init/twostage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ void LegacySARInit::first_stage_prep() {
bool SecondStageInit::prepare() {
umount2("/init", MNT_DETACH);
umount2("/proc/self/exe", MNT_DETACH);
unlink("/data/init");

// Make sure init dmesg logs won't get messed up
argv[0] = (char *) INIT_PATH;
Expand Down
2 changes: 1 addition & 1 deletion scripts/boot_patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ fi
"mkdir 000 .backup" \
"add 000 .backup/.magisk config"

rm -f ramdisk.cpio.orig config magisk*.xz stub.xz
rm -f ramdisk.cpio.orig config magisk*.xz stub.xz stub.apk

#################
# Binary Patches
Expand Down

0 comments on commit 2c53356

Please sign in to comment.