diff options
author | Kim Alvefur <zash@zash.se> | 2019-05-31 18:50:13 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-05-31 18:50:13 +0200 |
commit | c3c7aaae0f69ab4b2dfcef94f6224f46613fb191 (patch) | |
tree | 59af9490ce45c0e2d3c1ca10e3473f7878eaff18 | |
parent | 4c7de2595bc229710b3985f96bea96a25c053300 (diff) | |
download | prosody-c3c7aaae0f69ab4b2dfcef94f6224f46613fb191.tar.gz prosody-c3c7aaae0f69ab4b2dfcef94f6224f46613fb191.zip |
prosody: Log shutdown reason (in past tense) as the very last thing
-rwxr-xr-x | prosody | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,9 +90,9 @@ end loop(); prosody.log("info", "Shutting down..."); -prosody.log("debug", "Shutdown reason is: %s", prosody.shutdown_reason or "not specified"); cleanup(); prosody.events.fire_event("server-stopped"); prosody.log("info", "Shutdown complete"); +prosody.log("debug", "Shutdown reason was: %s", prosody.shutdown_reason or "not specified"); os.exit(prosody.shutdown_code); |