branch | 0.12 |
changeset 12866 | 3dfb87814d65 |
parent 11906 | 98fd531594bd |
child 12868 | 9f9633364044 |
--- a/util/prosodyctl/shell.lua Sat Jan 21 17:14:55 2023 +0100 +++ b/util/prosodyctl/shell.lua Sun Jan 22 14:42:07 2023 +0100 @@ -39,7 +39,7 @@ if have_readline then readline.save_history(); end - os.exit(); + os.exit(0, true); end send_line(client, line); end @@ -112,7 +112,7 @@ client.events.add_handler("disconnected", function () print("--- session closed ---"); - os.exit(); + os.exit(0, true); end); client.events.add_handler("received", function (stanza)