Mercurial > prosody-hg
diff util/prosodyctl/shell.lua @ 12864:9f9633364044
Merge 0.12->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 22 Jan 2023 15:43:44 +0100 |
| parents | 0f4feaf9ca64 3dfb87814d65 |
| children | d10957394a3c |
line wrap: on
line diff
--- a/util/prosodyctl/shell.lua Sat Jan 21 17:24:45 2023 +0100 +++ b/util/prosodyctl/shell.lua Sun Jan 22 15:43:44 2023 +0100 @@ -41,7 +41,7 @@ if have_readline then readline.save_history(); end - os.exit(); + os.exit(0, true); end send_line(client, line); end @@ -118,7 +118,7 @@ client.events.add_handler("disconnected", function () print("--- session closed ---"); - os.exit(); + os.exit(0, true); end); client.events.add_handler("received", function (stanza)
