summaryrefslogtreecommitdiff
path: root/ANRdaemon
diff options
context:
space:
mode:
authorNancy Zheng <nzheng@google.com>2016-08-08 22:20:06 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-08-08 22:20:06 +0000
commit2061bef85566e3ba338c39226c96d2f30773e254 (patch)
tree201225aa75903ee72e59acf540867242b83147af /ANRdaemon
parent8d88f076f64ede1555d0536695477287ae065d13 (diff)
parent95c00594e51bbfaf08d2f4bd05862a8e5df464fe (diff)
downloadextras-2061bef85566e3ba338c39226c96d2f30773e254.tar.gz
Fix missing pipe in ANRdaemon.
am: 95c00594e5 Change-Id: I9ec4af8770b8ae5c6ff3d94e6502464ff23a72ee
Diffstat (limited to 'ANRdaemon')
-rwxr-xr-xANRdaemon/ANRdaemon_get_trace.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ANRdaemon/ANRdaemon_get_trace.sh b/ANRdaemon/ANRdaemon_get_trace.sh
index afe3120b..b5374174 100755
--- a/ANRdaemon/ANRdaemon_get_trace.sh
+++ b/ANRdaemon/ANRdaemon_get_trace.sh
@@ -20,7 +20,7 @@ PID=$(echo "$PID" | awk '{ print $2 }')
adb $DEVICE shell "kill -s SIGUSR1 $PID"
TRACE_FILE=$(adb $DEVICE shell "ls $TRACE_DIR \
- grep $TRACE_FILE_PATTEN | tail -n1" | tr -d '\r')
+ | grep $TRACE_FILE_PATTEN | tail -n1" | tr -d '\r')
# Wiat the trace file generation to complete
adb $DEVICE shell "lsof $PID" | grep $TRACE_FILE > /dev/null