diff options
author | osm0sis <osm0sis@outlook.com> | 2019-08-06 20:10:53 -0300 |
---|---|---|
committer | osm0sis <osm0sis@outlook.com> | 2019-08-06 20:10:53 -0300 |
commit | 146c834d0fd03ad9c0701d12b82fa781850d7a37 (patch) | |
tree | 90dda0aed35cecbc1ac184e77ca96c959472f3f2 | |
parent | 950b68a1d74b44631a3165d0328301afc033e614 (diff) |
Backend: ensure /system_root umount even if /system is a symlink
-rwxr-xr-x | META-INF/com/google/android/update-binary | 2 |
1 files changed, 1 insertions, 1 deletions
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; |