changeset 12868 | 9f9633364044 |
parent 12577 | 0f4feaf9ca64 |
parent 12866 | 3dfb87814d65 |
child 12979 | d10957394a3c |
--- 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)