diff options
author | Kim Alvefur <zash@zash.se> | 2024-03-27 19:33:11 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2024-03-27 19:33:11 +0100 |
commit | e311f13c4342a2dfc059fd15fe87e51375b95398 (patch) | |
tree | d75c4ecb47d0f9952b24c602e77c510f058f1c76 /util/iterators.lua | |
parent | a8556c18757df09419d82f8fc5f5bbf27769e1a3 (diff) | |
download | prosody-e311f13c4342a2dfc059fd15fe87e51375b95398.tar.gz prosody-e311f13c4342a2dfc059fd15fe87e51375b95398.zip |
util.startup: Fix exiting on pidfile trouble
prosody.shutdown() relies on prosody.main_thread, which has not been set
yet at this point.
Doing a clean shutdown might actually be harmful in case it tears down
things set up by the conflicting Prosody, such as the very pidfile we
were looking at.
Thanks again SigmaTel71 for noticing
Diffstat (limited to 'util/iterators.lua')
0 files changed, 0 insertions, 0 deletions