Sat, 18 Jul 2009 15:33:16 +0100
prosody: Return success/error from prosody.reload_config()
prosody | file | annotate | diff | comparison | revisions |
--- a/prosody Sat Jul 18 15:11:10 2009 +0100 +++ b/prosody Sat Jul 18 15:33:16 2009 +0100 @@ -106,6 +106,7 @@ log("error", "Couldn't read the config file when trying to reload: %s", tostring(err)); end end + return ok, (err and tostring(level)..": "..tostring(err)) or nil; end -- Function to reopen logfiles