mirror of
https://github.com/anope/anope.git
synced 2026-06-28 17:56:38 +02:00
Use normal exit codes when exiting the process.
This commit is contained in:
+3
-2
@@ -137,12 +137,13 @@ int main(int ac, char **av, char **envp)
|
||||
try
|
||||
{
|
||||
/* General initialization first */
|
||||
Anope::Init(ac, av);
|
||||
if (!Anope::Init(ac, av))
|
||||
return Anope::ReturnValue;
|
||||
}
|
||||
catch (const CoreException &ex)
|
||||
{
|
||||
Log() << ex.GetReason();
|
||||
return -1;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user