diff options
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/method/exit.lua | 3 | ||||
-rw-r--r-- | server/src/method/shutdown.lua | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/server/src/method/exit.lua b/server/src/method/exit.lua index 716a86e7..fa550243 100644 --- a/server/src/method/exit.lua +++ b/server/src/method/exit.lua @@ -1,3 +1,4 @@ return function () - return true + log.info('Server exited.') + os.exit(true) end diff --git a/server/src/method/shutdown.lua b/server/src/method/shutdown.lua index 716a86e7..bb81306e 100644 --- a/server/src/method/shutdown.lua +++ b/server/src/method/shutdown.lua @@ -1,3 +1,4 @@ return function () + log.info('Server shutdown.') return true end |