summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2013-11-26 11:44:27 +0100
committerDenys Vlasenko2013-11-26 11:44:27 +0100
commit71f6c1aa433fb2be5c3e583ca350c1f9931817a5 (patch)
tree795e9b9e953bf023a2c95d6248430d0d7de5a2fa
parentbd0e221620eb725043b4e748248046ece996a393 (diff)
downloadbusybox-71f6c1aa433fb2be5c3e583ca350c1f9931817a5.zip
busybox-71f6c1aa433fb2be5c3e583ca350c1f9931817a5.tar.gz
logread: flush output. closes 6710
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--sysklogd/logread.c1
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);