# HG changeset patch # User Kim Alvefur # Date 1559321434 -7200 # Node ID 4e63e28ba3629ac2083af4eea1754bddd4d7769d # Parent c8f16fd2a5e3a82a07fff8e13905a129a44eeb96 prosody: Also log status code passed to exit() Sometimes you're just too lazy to `echo $?` diff -r c8f16fd2a5e3 -r 4e63e28ba362 prosody --- a/prosody Fri May 31 18:50:13 2019 +0200 +++ b/prosody Fri May 31 18:50:34 2019 +0200 @@ -95,4 +95,5 @@ prosody.log("info", "Shutdown complete"); 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);