From a1d0b703058a4caaf66ed605e737b3fe2db88780 Mon Sep 17 00:00:00 2001 From: osm0sis Date: Tue, 2 Feb 2021 23:06:59 -0400 Subject: [PATCH] Backend: one more umount_all() touch-up --- META-INF/com/google/android/update-binary | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 0854f40..ee0a5b7 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -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;