DEPENDS
author Kim Alvefur <zash@zash.se>
Sun, 22 Jan 2023 14:42:07 +0100
branch0.12
changeset 12866 3dfb87814d65
parent 8457 90962ef41bf3
permissions -rw-r--r--
util.prosodyctl.shell: Close state on exit to fix saving shell history This ensures a last round of garbage collection and finalizers, which should include flushing the readline history file. Test procedure: ``` $ ./prosodyctl shell prosody> s2s:show() -- any command that is not the last in history ... output prosody> bye $ ./prosodyctl shell prosody> ^P ``` After this, the shell prompt should contain the last command from before the "bye". Before this patch, recent history is gone most of the time.


For full information on our dependencies, version requirements, and
where to find them, see https://prosody.im/doc/depends

If you have luarocks available on your platform, install the following:

  - luaexpat
  - luasocket
  - luafilesystem
  - luasec