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