logread: flush output. closes 6710
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 26 Nov 2013 10:44:27 +0000 (11:44 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 26 Nov 2013 10:44:27 +0000 (11:44 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
sysklogd/logread.c

index 2b6415f474d2a3e1787b08d1d4da994b42cd23fd..53d771d280e1bd8ef3b4b6de9bdc1f819b0027c4 100644 (file)
@@ -182,6 +182,7 @@ int logread_main(int argc UNUSED_PARAM, char **argv)
                }
                free(copy);
 #endif
+               fflush_all();
        } while (follow);
 
        shmdt(shbuf);