diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-10 14:09:17 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-10 14:09:17 +0000 |
commit | 0632c3fd75ec58c2d306a813d10a68817f050a30 (patch) | |
tree | 6bc4d05d728b0ca15f3da3e22b1e859c3eb9a2ad | |
parent | 15b926d7a2aec0d261ef9d416481aed8dbf0b072 (diff) | |
download | prosody-0632c3fd75ec58c2d306a813d10a68817f050a30.tar.gz prosody-0632c3fd75ec58c2d306a813d10a68817f050a30.zip |
mod_posix: Remove the lines added to work around the util.signal loop bug
-rw-r--r-- | plugins/mod_posix.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index 95b95034..697930ca 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -136,7 +136,6 @@ module:add_event_hook("server-stopped", remove_pidfile); if signal.signal then signal.signal("SIGTERM", function () module:log("warn", "Received SIGTERM"); - signal.signal("SIGTERM", function () end); -- Fixes us getting into some kind of loop prosody.unlock_globals(); prosody.shutdown("Received SIGTERM"); prosody.lock_globals(); @@ -150,7 +149,6 @@ if signal.signal then signal.signal("SIGINT", function () module:log("info", "Received SIGINT"); - signal.signal("SIGINT", function () end); -- Fix to not loop prosody.unlock_globals(); prosody.shutdown("Received SIGINT"); prosody.lock_globals(); |