diff --git a/src/app/main.cpp b/src/app/main.cpp index 18623146e..7bbc305e4 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -104,6 +104,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