summaryrefslogtreecommitdiff
path: root/src/common/mapindex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/mapindex.c')
-rw-r--r--src/common/mapindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mapindex.c b/src/common/mapindex.c
index 2fa8c9fb8..0c275c41a 100644
--- a/src/common/mapindex.c
+++ b/src/common/mapindex.c
@@ -150,7 +150,7 @@ void mapindex_init(void)
fp=fopen(mapindex_cfgfile,"r");
if(fp==NULL){
ShowFatalError("Unable to read mapindex config file %s!\n", mapindex_cfgfile);
- exit(1); //Server can't really run without this file.
+ exit(EXIT_FAILURE); //Server can't really run without this file.
}
while(fgets(line, sizeof(line), fp))
{