diff options
| author | 2023-10-17 13:55:04 +0100 | |
|---|---|---|
| committer | 2023-10-17 13:55:04 +0100 | |
| commit | ca7946c9d7abd695425a8669a16fb7f667a9bc3d (patch) | |
| tree | e369b900b2da41e15e6b4efaae1e3772aa958f0a /src/inspircd.cpp | |
| parent | Allow disabling LIST completely for unregistered users. (diff) | |
Fix exiting with a success when the child dies before the parent.
I have no idea why I didn't see this before now.
Closes #1369.
Closes #2064.
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 7d92feb85..a1a24a9df 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -246,7 +246,7 @@ namespace // happened and the parent should exit. while (kill(childpid, 0) != -1) sleep(1); - InspIRCd::QuickExit(EXIT_SUCCESS); + InspIRCd::QuickExit(EXIT_FAILURE); } else { |
