diff --git a/osquery/core/init.cpp b/osquery/core/init.cpp index 192b014ca95..cdcc1eedb82 100644 --- a/osquery/core/init.cpp +++ b/osquery/core/init.cpp @@ -822,6 +822,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); } }