diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-07-18 15:33:16 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-07-18 15:33:16 +0100 |
commit | fd0dc078bf261161476a2a14afae696552fe3e46 (patch) | |
tree | 37c0f0e1b6fc6b9be5e33424d62d8dbee8944cb3 /prosody | |
parent | 1919f4288c24610a884ebe930c8f4ed9a01d07ec (diff) | |
download | prosody-fd0dc078bf261161476a2a14afae696552fe3e46.tar.gz prosody-fd0dc078bf261161476a2a14afae696552fe3e46.zip |
prosody: Return success/error from prosody.reload_config()
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -106,6 +106,7 @@ function init_global_state() 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 |