From f4f2d5e29ee02d7785ef0150398df7c164feee44 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 1 Sep 2017 13:59:54 +0200 Subject: o Making sure stdout is flushed properly before returning. --- apps/sample-add-timestamp.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps') diff --git a/apps/sample-add-timestamp.cpp b/apps/sample-add-timestamp.cpp index 841782e..ec3c43a 100644 --- a/apps/sample-add-timestamp.cpp +++ b/apps/sample-add-timestamp.cpp @@ -83,6 +83,8 @@ public: parser->process(b); } + stdout->flush(); + return EXIT_SUCCESS; }; }; -- cgit v1.2.3