Changeset

2433:65b794860e1b

mod_posix: Remove the lines added to work around the util.signal loop bug
author Matthew Wild <mwild1@gmail.com>
date Sun, 10 Jan 2010 14:09:17 +0000
parents 2432:1e045b3e9dce
children 2434:4403d4473783
files plugins/mod_posix.lua
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_posix.lua	Sun Jan 10 03:54:29 2010 +0000
+++ b/plugins/mod_posix.lua	Sun Jan 10 14:09:17 2010 +0000
@@ -136,7 +136,6 @@
 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 @@
 	
 	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();