8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 16:03:03 +01:00

Postfix for replication server in Linux CS

This commit is contained in:
Dmitry Yemanov 2023-09-05 18:07:46 +03:00
parent cf6424565b
commit 90ef56ae16

View File

@ -550,16 +550,16 @@ int CLIB_ROUTINE main( int argc, char** argv)
logSecurityDatabaseError(path, status);
}
}
} // end scope
// Start replication server
// Start replication server
FbLocalStatus localStatus;
if (!REPL_server(&localStatus, replicas, false))
{
const char* const errorMsg = "Replication server startup error";
iscLogStatus(errorMsg, localStatus->getErrors());
Syslog::Record(Syslog::Error, errorMsg);
FbLocalStatus localStatus;
if (!REPL_server(&localStatus, replicas, false))
{
const char* const errorMsg = "Replication server startup error";
iscLogStatus(errorMsg, localStatus->getErrors());
Syslog::Record(Syslog::Error, errorMsg);
}
}
fb_shutdown_callback(NULL, closePort, fb_shut_exit, port);