Fix exit code values

- Change all exit codes to match the standard of 0 for success
and 1 for error

- Add empty shared folder to utils/defaults for shared_memory
This commit is contained in:
j883376
2013-06-21 22:54:28 -04:00
parent 76e25f75fa
commit 2a39449f6e
7 changed files with 60 additions and 49 deletions
+3 -3
View File
@@ -44,13 +44,13 @@ int main(int argc, char *argv[]) {
}
if(launcher_name.length() < 1) {
_log(LAUNCHER__ERROR, "You must specfify a launcher name as the first argument to this program.");
return(1);
return 1;
}
_log(LAUNCHER__INIT, "Loading server configuration..");
if (!EQEmuConfig::LoadConfig()) {
_log(LAUNCHER__ERROR, "Loading server configuration failed.");
return(1);
return 1;
}
const EQEmuConfig *Config = EQEmuConfig::get();
@@ -173,7 +173,7 @@ int main(int argc, char *argv[]) {
delete zone->second;
}
return(0);
return 0;
}