summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Renshaw <osm0sis@outlook.com>2019-08-13 20:36:00 -0300
committerGitHub <noreply@github.com>2019-08-13 20:36:00 -0300
commite2987e39470b888db37611fc4c51ee7a634112be (patch)
tree65128193e0a2bc1d267d92de95cd8bc90e9e6cee
parentff4f310e3a2beb0c25e73b78a1cf924eee73761f (diff)
Backend: mask error on TWRP devices without /system_root in fstab
-rwxr-xr-xMETA-INF/com/google/android/update-binary2
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 260ea54..48c6a15 100755
--- a/META-INF/com/google/android/update-binary
+++ b/META-INF/com/google/android/update-binary
@@ -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;