Flush stderr and stdout after starting up if using --nofork.

This commit is contained in:
Sadie Powell 2025-03-02 12:24:00 +00:00
parent 4200eee5d9
commit 030d710575

View File

@ -579,6 +579,9 @@ InspIRCd::InspIRCd(int argc, char** argv)
} }
else else
{ {
fflush(stderr);
fflush(stdout);
Logs.Normal("STARTUP", "Keeping pseudo-tty open as we are running in the foreground."); Logs.Normal("STARTUP", "Keeping pseudo-tty open as we are running in the foreground.");
} }
#else #else