summaryrefslogtreecommitdiff
path: root/ANRdaemon
diff options
context:
space:
mode:
authorNancy Zheng <nzheng@google.com>2016-08-05 18:48:20 -0700
committerNancy Zheng <nzheng@google.com>2016-08-05 18:48:20 -0700
commit95c00594e51bbfaf08d2f4bd05862a8e5df464fe (patch)
treee0095629a8c7ea4228fa2343d944a162ff200414 /ANRdaemon
parent32fe2a12b94d152d09a1de6d6bcac898ba0cde39 (diff)
downloadextras-95c00594e51bbfaf08d2f4bd05862a8e5df464fe.tar.gz
Fix missing pipe in ANRdaemon.
Change-Id: I1322ed51f0f1456ebfb8cbb1404772f7fc2bf840
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