diff options
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -90,4 +90,6 @@ cleanup(); prosody.events.fire_event("server-stopped"); prosody.log("info", "Shutdown complete"); -os.exit(prosody.shutdown_code); +prosody.log("debug", "Shutdown reason was: %s", prosody.shutdown_reason or "not specified"); +prosody.log("debug", "Exiting with status code: %d", prosody.shutdown_code or 0); +os.exit(prosody.shutdown_code, true); |