From 26486b46eada232ef807f3d969ffdec33d5e4858 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 20 Oct 2011 23:38:34 +0200 Subject: [PATCH] try to grab log data more aggressively --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 4282e4a..bed0edd 100644 --- a/main.c +++ b/main.c @@ -129,7 +129,7 @@ retry: } proc->log_buf_ofs = len; - if (read_len == maxlen) + if (read_len > 0) goto retry; out: -- 2.25.1