aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2012-02-23 13:28:35 -0800
committerNick Kralevich <nnk@google.com>2012-02-23 14:48:51 -0800
commit274c31ab6b646b52dfe0f69a9e30077795065d0a (patch)
treeb0bcca48be008ff9a9904430849977252eefb4a6
parentafd912394690cbf7d40b021c62d80ff0f3d40806 (diff)
downloadsystem_core-274c31ab6b646b52dfe0f69a9e30077795065d0a.tar.gz
system_core-274c31ab6b646b52dfe0f69a9e30077795065d0a.tar.bz2
system_core-274c31ab6b646b52dfe0f69a9e30077795065d0a.zip
fix "logcat -c ; logcat -d" hang.
Change-Id: I1dc3633fc7228a6ff8ed0da4572f40055a28ceb2
-rw-r--r--logcat/logcat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logcat/logcat.cpp b/logcat/logcat.cpp
index ae56c411..b71ce86a 100644
--- a/logcat/logcat.cpp
+++ b/logcat/logcat.cpp
@@ -253,7 +253,7 @@ static void readLogLines(log_device_t* devices)
int max = 0;
int ret;
int queued_lines = 0;
- bool sleep = true;
+ bool sleep = false;
int result;
fd_set readset;