Backend: don't attempt to unmount /system_root when booted
- work around booted flashing apps like FKM/EXKM which make /system busy to keep it from being unmounted but can't do the same with /system_root which can lead to sketchy behavior
This commit is contained in:
1 file changed
+4
-4
@@ -61,10 +61,10 @@ umount_all() {
|
|||||||
umount_apex;
|
umount_apex;
|
||||||
$bb umount /system;
|
$bb umount /system;
|
||||||
$bb umount -l /system;
|
$bb umount -l /system;
|
||||||
fi;
|
if [ -e /system_root ]; then
|
||||||
if [ -e /system_root ]; then
|
$bb umount /system_root;
|
||||||
$bb umount /system_root;
|
$bb umount -l /system_root;
|
||||||
$bb umount -l /system_root;
|
fi;
|
||||||
fi;
|
fi;
|
||||||
umount /vendor;
|
umount /vendor;
|
||||||
umount -l /vendor;
|
umount -l /vendor;
|
||||||
|
|||||||
Reference in new issue
Block a user