logread: flush output. closes 6710

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2013-11-26 11:44:27 +01:00
parent bd0e221620
commit 71f6c1aa43

View File

@ -182,6 +182,7 @@ int logread_main(int argc UNUSED_PARAM, char **argv)
}
free(copy);
#endif
fflush_all();
} while (follow);
shmdt(shbuf);