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

Commit 2249b07e authored by Tom Cherry's avatar Tom Cherry
Browse files

logcat: fix logpersist.stop and logpersist.clear

Test: these work
Change-Id: Ib0b0b5408c93a05f39d1b585256a2c7c34736e7e
parent 98c6c330
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -148,9 +148,9 @@ case ${progname} in
    echo "WARNING: Can not use --size or --buffer with ${progname%.*}.stop" >&2
  fi
  if [ "true" = "${clear}" ]; then
    setprop ${property} "clear"
    setprop ${property#persist.} "clear"
  else
    setprop ${property} "stop"
    setprop ${property#persist.} "stop"
  fi
  if [ -n "`getprop ${property#persist.}.buffer`" ]; then
    setprop ${property}.buffer ""