diff --git a/src/app/main.cpp b/src/app/main.cpp index 23e838ec4..31e744732 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -99,6 +99,10 @@ void adjustFileDescriptorLimit(); // Main int main(int argc, char *argv[]) { +#ifdef DISABLE_GUI + setvbuf(stdout, nullptr, _IONBF, 0); +#endif + #ifdef Q_OS_UNIX adjustFileDescriptorLimit(); #endif