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 | 132dc809762a15b4c1c638ea0345bf7358caa833 (patch) | |
tree | 59af9490ce45c0e2d3c1ca10e3473f7878eaff18 | |
parent | 8ad384af08177fe49e1760128f19bacbef73b301 (diff) | |
download | prosody-132dc809762a15b4c1c638ea0345bf7358caa833.tar.gz prosody-132dc809762a15b4c1c638ea0345bf7358caa833.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); |