Exit with status code 0 on graceful shutdowns

This commit is contained in:
Kaoticz
2025-01-14 03:10:12 +00:00
committed by Kwoth
parent ccae1c59e9
commit f42afa7eae
4 changed files with 6 additions and 6 deletions

View File

@@ -82,7 +82,7 @@ public sealed class BotCredsProvider : IBotCredsProvider
if (string.IsNullOrWhiteSpace(_creds.Token))
{
Log.Error("Token is missing from creds.yml or Environment variables.\nAdd it and restart the program");
Helpers.ReadErrorAndExit(5);
Helpers.ReadErrorAndExit(1);
return;
}