Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe9de679 authored by Frederick Mayle's avatar Frederick Mayle Committed by Gerrit Code Review
Browse files

Merge "envsetup.sh: partly fix syswrite"

parents 9261a656 e59a8794
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1069,7 +1069,7 @@ function qpid() {
# 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