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:
osm0sis committed 2020-01-15 11:49:40 -04:00
1 parent 3f60a5e1e2
commit d225890532
1 file changed
+4 -4
+4 -4
View File
@@ -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;