diff --git a/osquery/core/init.cpp b/osquery/core/init.cpp index 3b9c245c89b..3508a04d9f6 100644 --- a/osquery/core/init.cpp +++ b/osquery/core/init.cpp @@ -684,6 +684,7 @@ class AlarmRunnable : public InterruptibleRunnable { std::this_thread::sleep_for(std::chrono::milliseconds(200)); waited += 200; if (waited > FLAGS_alarm_timeout * 1000) { + fflush(stdout); Initializer::shutdownNow(EXIT_CATASTROPHIC); } }