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
commite7dbe643831abe4dc4c1224675be3a0d8a834798 (patch)
tree42ad08705d2ea96cc9acda97c58b625fdc7097d9 /plugins/mod_posix.lua
parent39e24a4e7318865adc6318c607f3858b37601702 (diff)
downloadprosody-e7dbe643831abe4dc4c1224675be3a0d8a834798.tar.gz
prosody-e7dbe643831abe4dc4c1224675be3a0d8a834798.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 ()