summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index cf961fd93..77e393c0d 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -5336,7 +5336,7 @@ int char_config_read(const char* cfgName)
return 0;
}
-void do_final(void) {
+int do_final(void) {
int i;
ShowStatus("Terminating...\n");
@@ -5373,6 +5373,7 @@ void do_final(void) {
aFree(server[i].map);
ShowStatus("Finished.\n");
+ return EXIT_SUCCESS;
}
//------------------------------