From fc51d346cda4f834b411592f09a0e25072f058a2 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Wed, 25 Aug 2021 00:14:49 +0200 Subject: chore: Fix some typos in Exit Codes --- docs/exitcodes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/exitcodes.md b/docs/exitcodes.md index 08eebf3..10fb665 100644 --- a/docs/exitcodes.md +++ b/docs/exitcodes.md @@ -13,7 +13,7 @@ enum ShutdownExitCode SHUTDOWN_EXIT_CODE is called when you use the commands **.server shutdown**, **.server idleshutdown**, **.server exit** or if the [m_serviceStatus == 0](https://github.com/azerothcore/azerothcore-wotlk/blob/a594bf5b290e5476c61bab29809a079e93c5daa2/src/server/worldserver/Main.cpp#L575-L581) for Windows. -RESTART_EXIT_CODE is called when you use the commands **..server restart** and **.server idlerestart**. +RESTART_EXIT_CODE is called when you use the commands **.server restart** and **.server idlerestart**. ERROR_EXIT_CODE is called when the server crashes. This can be due to due to guid/id/entry overflow, [Network.Threads](https://github.com/azerothcore/azerothcore-wotlk/blob/a594bf5b290e5476c61bab29809a079e93c5daa2/src/server/worldserver/worldserver.conf.dist#L2909-L2913) being <= 0 or if the server cannot initialize network. @@ -28,7 +28,7 @@ The best way to know where all the exit codes are called is by finding them in t .server restart #delay [#exit_code] ``` -The `.server shutdown/restart`, `.server idleshutdown/restart` commands all have an argument for **[#exit_code]**. +The **.server shutdown/restart**, **.server idleshutdown/restart** commands all have an argument for **[#exit_code]**. The default exit code for shutdown is always 0 and the default exit code for restart is always 2 if the argument is left blank. -- cgit