summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/char/char.c2
-rw-r--r--src/login/login.c2
2 files changed, 2 insertions, 2 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;
}
diff --git a/src/login/login.c b/src/login/login.c
index 402efc7..0e0448e 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -1074,7 +1074,7 @@ int check_auth_sync (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;
}