view DEPENDS @ 14016:1df1782ccdfe

prosodyctl shell: Improve process exit codes This fixes a bug introduced in 3326c8a29a86 where prosodyctl shell would always exit with non-zero error codes, even on success. Now it will exit with 0 for success, or 1 if any errors were printed. It also updates the other exit codes in the shell command to help distinguish between different error cases. These are based on the sysexits.h codes, although it is not recommended to rely on that interface.
author Matthew Wild <mwild1@gmail.com>
date Fri, 19 Dec 2025 15:32:26 +0000
parents 90962ef41bf3
children
line wrap: on
line source


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