mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 08:52:31 -05:00
Use different exit codes for critical errors vs configuration errors (#5674)
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -27,7 +27,7 @@ if _sys.version_info < MIN_PYTHON_VERSION:
|
||||
f"Python {'.'.join(map(str, MIN_PYTHON_VERSION))} is required to run Red, but you have "
|
||||
f"{_sys.version}! Please update Python."
|
||||
)
|
||||
_sys.exit(1)
|
||||
_sys.exit(78)
|
||||
|
||||
|
||||
class VersionInfo:
|
||||
|
||||
Reference in New Issue
Block a user