From d7f972859a6d9e35a2ba5fdcac84c923c191f9f4 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Mon, 16 Jan 2012 15:37:54 +0100 Subject: [PATCH] flush on exit --- jobflow.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jobflow.c b/jobflow.c index faf695d..e3996a9 100644 --- a/jobflow.c +++ b/jobflow.c @@ -224,7 +224,6 @@ static void reapChilds(void) { if(!prog_state.join_output) dump_output(i, 1); } - } } else addJobSlot(i); @@ -560,5 +559,10 @@ int main(int argc, char** argv) { if(prog_state.tempdir) rmdir(prog_state.tempdir); + + fflush(stdout); + fflush(stderr); + + return 0; } -- 2.11.4.GIT