summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2010-02-18 19:37:31 -0500
committerMadCamel <madcamel@gmail.com>2010-02-18 19:37:31 -0500
commit4863d4d341423627711c1e318e2c38b678bd1567 (patch)
tree5dfac7ca79d5490073b0bbcc7958bb87f028a20f /src/char/char.c
parentfbb6e34783691031624392219f7b7eeb5f247ae6 (diff)
downloadtmwa-4863d4d341423627711c1e318e2c38b678bd1567.tar.gz
tmwa-4863d4d341423627711c1e318e2c38b678bd1567.tar.bz2
tmwa-4863d4d341423627711c1e318e2c38b678bd1567.tar.xz
tmwa-4863d4d341423627711c1e318e2c38b678bd1567.zip
make login-server child REALLY exit when done writing DB
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 3755d1f..27e9a1c 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -853,7 +853,7 @@ int mmo_char_sync_timer (int tid, unsigned int tick, int id, int data)
// If we're a child we should suicide now.
if (pid == 0)
- exit (0);
+ _exit (0);
return 0;
}