diff options
| author | 2025-03-02 12:24:00 +0000 | |
|---|---|---|
| committer | 2025-03-02 12:24:00 +0000 | |
| commit | 030d71057597553dad26df8d9491c00f95bff669 (patch) | |
| tree | 70bf3454a9992a85e6dfb9ce2648c26c9f3cea5d | |
| parent | Fix a compiler error in helperfuncs. (diff) | |
Flush stderr and stdout after starting up if using --nofork.
| -rw-r--r-- | src/inspircd.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 38657b0fb..67fc29ef5 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -579,6 +579,9 @@ InspIRCd::InspIRCd(int argc, char** argv) } else { + fflush(stderr); + fflush(stdout); + Logs.Normal("STARTUP", "Keeping pseudo-tty open as we are running in the foreground."); } #else |
