diff options
author | Kim Alvefur <zash@zash.se> | 2014-08-26 12:00:51 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-08-26 12:00:51 +0200 |
commit | e9cd45bbc6eb847d45d86d986f96c45d2d8ba5af (patch) | |
tree | a7c9626534da045d2ad473fa6f8e57f395f85c30 /prosodyctl | |
parent | 015a567600ccddaec85bb5032afd9ad56a17846d (diff) | |
download | prosody-e9cd45bbc6eb847d45d86d986f96c45d2d8ba5af.tar.gz prosody-e9cd45bbc6eb847d45d86d986f96c45d2d8ba5af.zip |
prosodyctl: Verify that 'pidfile' is a string, show friendly error otherwise
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -220,6 +220,7 @@ local error_messages = setmetatable({ ["no-such-host"] = "The given hostname does not exist in the config"; ["unable-to-save-data"] = "Unable to store, perhaps you don't have permission?"; ["no-pidfile"] = "There is no 'pidfile' option in the configuration file, see http://prosody.im/doc/prosodyctl#pidfile for help"; + ["invalid-pidfile"] = "The 'pidfile' option in the configuration file is not a string, see http://prosody.im/doc/prosodyctl#pidfile for help"; ["no-posix"] = "The mod_posix module is not enabled in the Prosody config file, see http://prosody.im/doc/prosodyctl for more info"; ["no-such-method"] = "This module has no commands"; ["not-running"] = "Prosody is not running"; |