From 146c834d0fd03ad9c0701d12b82fa781850d7a37 Mon Sep 17 00:00:00 2001 From: osm0sis Date: Tue, 6 Aug 2019 20:10:53 -0300 Subject: Backend: ensure /system_root umount even if /system is a symlink --- META-INF/com/google/android/update-binary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 0947a6f..e841bef 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -45,7 +45,7 @@ debugging() { is_mounted() { $bb mount | $bb grep -q " $1 "; } unmount_all() { ($bb umount /system; - if [ -e /system_root -a ! -f /system/build.prop ]; then + if [ -e /system_root ] && [ ! -f /system/build.prop -o -L /system ]; then $bb umount /system_root; fi; $bb umount /system; -- cgit v1.2.3