mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Flush stderr and stdout after starting up if using --nofork.
This commit is contained in:
parent
4200eee5d9
commit
030d710575
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user