Backend: one more umount_all() touch-up

This commit is contained in:
osm0sis committed 2021-02-02 23:06:59 -04:00
1 parent 3159b91e67
commit a1d0b70305
1 file changed
+1 -3
+1 -3
View File
@@ -159,12 +159,10 @@ umount_all() {
$BB umount -l /system_root;
fi;
fi;
$BB umount /mnt/system;
$BB umount -l /mnt/system;
umount_apex;
umount /vendor; # busybox umount /vendor breaks recovery on some devices
umount -l /vendor;
for mount in /mnt/vendor /product /mnt/product /persist; do
for mount in /mnt/system /mnt/vendor /product /mnt/product /persist; do
$BB umount $mount;
$BB umount -l $mount;
done;