[git commit] logread: flush output. closes 6710

Denys Vlasenko vda.linux at googlemail.com
Tue Nov 26 10:44:27 UTC 2013


commit: http://git.busybox.net/busybox/commit/?id=71f6c1aa433fb2be5c3e583ca350c1f9931817a5
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 sysklogd/logread.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sysklogd/logread.c b/sysklogd/logread.c
index 2b6415f..53d771d 100644
--- a/sysklogd/logread.c
+++ b/sysklogd/logread.c
@@ -182,6 +182,7 @@ int logread_main(int argc UNUSED_PARAM, char **argv)
 		}
 		free(copy);
 #endif
+		fflush_all();
 	} while (follow);
 
 	shmdt(shbuf);


More information about the busybox-cvs mailing list