Backend: mask error on TWRP devices without /system_root in fstab

This commit is contained in:
Chris Renshaw authored and GitHub committed 2019-08-13 20:36:00 -03:00
1 parent ff4f310e3a
commit e2987e3947
1 file changed
+1 -1
+1 -1
View File
@@ -127,7 +127,7 @@ if [ -f /system/system/build.prop ]; then
if [ $? != 0 ]; then
$bb umount /system;
$bb umount /system 2>/dev/null;
$bb mount -o ro -t auto /system_root || $bb mount -o ro -t auto /dev/block/bootdevice/by-name/system /system_root;
$bb mount -o ro -t auto /system_root 2>/dev/null || $bb mount -o ro -t auto /dev/block/bootdevice/by-name/system /system_root;
fi;
$bb mount -o bind /system_root/system /system;
fi;