mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-15 00:59:26 +08:00
fix: conflict between exit when server is under maintenance and instance restart
This commit is contained in:
@@ -126,6 +126,7 @@ class ServerChecker:
|
||||
content=f"Server is under maintenance, exit"
|
||||
)
|
||||
logger.info("Server is under maintenance, exit")
|
||||
logger.info("Reason: Finish")
|
||||
exit(0)
|
||||
else:
|
||||
if self._timer.limit < 600:
|
||||
|
||||
Reference in New Issue
Block a user