mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-17 19:08:22 +00:00
Extended to shared database
This commit is contained in:
@@ -54,6 +54,10 @@ void CatchSignal(int sig_num)
|
||||
#endif
|
||||
}
|
||||
|
||||
void OnExit() {
|
||||
CatchSignal(SIGBREAK);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
_eqp
|
||||
RegisterExecutablePlatform(ExePlatformSharedMemory);
|
||||
@@ -73,6 +77,8 @@ int main(int argc, char **argv) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
atexit(OnExit);
|
||||
|
||||
Log.Out(Logs::General, Logs::Status, "Shared Memory Loader Program");
|
||||
if(!EQEmuConfig::LoadConfig()) {
|
||||
Log.Out(Logs::General, Logs::Error, "Unable to load configuration file.");
|
||||
|
||||
Reference in New Issue
Block a user