summaryrefslogtreecommitdiff
path: root/src/tool
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool')
-rw-r--r--src/tool/adduser.c2
-rw-r--r--src/tool/convert.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tool/adduser.c b/src/tool/adduser.c
index 1140bd6ff..8e7c5f0c2 100644
--- a/src/tool/adduser.c
+++ b/src/tool/adduser.c
@@ -46,7 +46,7 @@ int main(int argc, char *argv[])
if (FPaccin == NULL) {
printf("'%s' file not found!\n", account_txt);
printf("Run the setup wizard please.\n");
- exit(0);
+ exit(EXIT_SUCCESS);
}
next_id = 2000000;
diff --git a/src/tool/convert.c b/src/tool/convert.c
index 863a282dc..671a49fb7 100644
--- a/src/tool/convert.c
+++ b/src/tool/convert.c
@@ -292,7 +292,7 @@ int main(int argc,char *argv[])
{
if(argc < 3) {
printf("Usage: convert <input filename> <output filename>\n");
- exit(0);
+ exit(EXIT_SUCCESS);
}
mmo_char_convert(argv[1],argv[2]);