diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-12-08 01:16:24 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-12-08 01:16:24 +0000 |
commit | 5da4e2583a68c0b7b600fc6afe7da6000c05fe8c (patch) | |
tree | a5b31cf0f68ccb399891176bebb76b67fa66b4cb /plugins | |
parent | d6ffcdeffa791416ca51309d016d17f5aa05c2e5 (diff) | |
download | prosody-5da4e2583a68c0b7b600fc6afe7da6000c05fe8c.tar.gz prosody-5da4e2583a68c0b7b600fc6afe7da6000c05fe8c.zip |
mod_posix: Set empty SIGINT handler when a SIGINT is caught
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_posix.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index 697930ca..4b1cf84f 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -149,6 +149,7 @@ if signal.signal then signal.signal("SIGINT", function () module:log("info", "Received SIGINT"); + signal.signal("SIGINT", function () end); -- Fixes us getting into some kind of loop prosody.unlock_globals(); prosody.shutdown("Received SIGINT"); prosody.lock_globals(); |