diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-12-07 19:18:50 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-12-07 19:18:50 +0000 |
commit | f48883b6ab37867f687aa6279f43da6a56cd40f1 (patch) | |
tree | ac0e72316d86c2f578943a42491152bb8276e9c5 /plugins/mod_posix.lua | |
parent | 2e6fcdb2d0126ddf6dac449d950ffbf5c7c523ba (diff) | |
parent | d3e7e2f1a7007f79edd38daf0adcf63e4fe950e3 (diff) | |
download | prosody-f48883b6ab37867f687aa6279f43da6a56cd40f1.tar.gz prosody-f48883b6ab37867f687aa6279f43da6a56cd40f1.zip |
Automated merge with http://waqas.ath.cx:8000/
Diffstat (limited to 'plugins/mod_posix.lua')
-rw-r--r-- | plugins/mod_posix.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index 8dc4c77d..7559d3ed 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -35,15 +35,13 @@ if not config_get("*", "core", "no_daemonize") then log("info", "Daemonized to pid %d", ret); os.exit(0); else - log("info", "Successfully daemonized"); - if logwriter then local ok, ret = logger_set(logwriter); if not ok then log("error", "Couldn't set new log output: %s", ret); end end - + log("info", "Successfully daemonized"); end end module:add_event_hook("server-starting", daemonize_server); |