summaryrefslogtreecommitdiff
path: root/server/src/method/exit.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/method/exit.lua')
-rw-r--r--server/src/method/exit.lua3
1 files changed, 2 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