aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_posix.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-01-06 12:17:00 +0100
committerKim Alvefur <zash@zash.se>2019-01-06 12:17:00 +0100
commit1e9a016034d106b7f4f97b0cd11d88fb97d5b120 (patch)
tree42ad08705d2ea96cc9acda97c58b625fdc7097d9 /plugins/mod_posix.lua
parentce17a974fc2023c1e1d3f903ce0fbb4fce6ef104 (diff)
downloadprosody-1e9a016034d106b7f4f97b0cd11d88fb97d5b120.tar.gz
prosody-1e9a016034d106b7f4f97b0cd11d88fb97d5b120.zip
mod_posix: Don't reload logging twice
See 18eca6afb367
Diffstat (limited to 'plugins/mod_posix.lua')
-rw-r--r--plugins/mod_posix.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua
index 825d3be0..23df4d23 100644
--- a/plugins/mod_posix.lua
+++ b/plugins/mod_posix.lua
@@ -172,7 +172,7 @@ if have_signal then
signal.signal("SIGHUP", function ()
module:log("info", "Received SIGHUP");
prosody.reload_config();
- prosody.reopen_logfiles();
+ -- this also reloads logging
end);
signal.signal("SIGINT", function ()