commit | fe9de6798bddd3907c21fab53ae4022676dfaf1e | [log] [tgz] |
---|---|---|
author | Frederick Mayle <fmayle@google.com> | Wed Aug 24 00:00:32 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Aug 24 00:00:32 2022 +0000 |
tree | ddb366f111962a736d414d14a7b6184f65fa252e | |
parent | 9261a656ca249eba5195f06b3f753f14b9ca0ca3 [diff] | |
parent | e59a87946fdff155537c03acff71135b994a2e53 [diff] |
Merge "envsetup.sh: partly fix syswrite"
diff --git a/envsetup.sh b/envsetup.sh index 5c95479..c9bf86b 100644 --- a/envsetup.sh +++ b/envsetup.sh
@@ -1069,7 +1069,7 @@ # Easy way to make system.img/etc writable function syswrite() { adb wait-for-device && adb root || return 1 - if [[ $(adb disable-verity | grep "reboot") ]]; then + if [[ $(adb disable-verity | grep -i "reboot") ]]; then echo "rebooting" adb reboot && adb wait-for-device && adb root || return 1 fi