logcat: fix logpersist.stop and logpersist.clear
Test: these work Change-Id: Ib0b0b5408c93a05f39d1b585256a2c7c34736e7e
This commit is contained in:
parent
98c6c3304a
commit
2249b07eb8
1 changed files with 2 additions and 2 deletions
|
@ -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 ""
|
||||
|
|
Loading…
Reference in a new issue