aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorGravatar Denys Vlasenko <vda.linux@googlemail.com>2013-11-26 11:44:27 +0100
committerGravatar Denys Vlasenko <vda.linux@googlemail.com>2013-11-26 11:44:27 +0100
commit71f6c1aa433fb2be5c3e583ca350c1f9931817a5 (patch)
tree795e9b9e953bf023a2c95d6248430d0d7de5a2fa /sysklogd
parentbd0e221620eb725043b4e748248046ece996a393 (diff)
downloadbusybox-71f6c1aa433fb2be5c3e583ca350c1f9931817a5.tar.gz
busybox-71f6c1aa433fb2be5c3e583ca350c1f9931817a5.tar.bz2
logread: flush output. closes 6710
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/logread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysklogd/logread.c b/sysklogd/logread.c
index 2b6415f47..53d771d28 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);