diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-12-07 18:44:23 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-12-07 18:44:23 +0000 |
commit | 34ea788ae497f82755f225973ab2238fd111ee53 (patch) | |
tree | 888a20a7275c0d0ae0383ef6008c4805f3de5f95 /plugins | |
parent | 0595c7a86c4ebbdab236b9f3cf2de4be84f0b90d (diff) | |
parent | 8d26c23a92e18fb829cafe285b11b2ff2f693be7 (diff) | |
download | prosody-34ea788ae497f82755f225973ab2238fd111ee53.tar.gz prosody-34ea788ae497f82755f225973ab2238fd111ee53.zip |
Automated merge with http://waqas.ath.cx:8000/
Diffstat (limited to 'plugins')
-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); |