summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdep/unix/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index 356070f1..ed89ef1b 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -194,6 +194,8 @@ main(int argc, char **argv)
#endif
log_init_debug(NULL);
+ setvbuf(stdout, NULL, _IONBF, 0); /* And yes, this does make a difference */
+ setvbuf(stderr, NULL, _IONBF, 0);
parse_args(argc, argv);
log(L_INFO "Launching BIRD 0.0.0...");