aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-09-19 23:25:10 +0200
committerKim Alvefur <zash@zash.se>2012-09-19 23:25:10 +0200
commit04a42be0ba3de8df3b278dc578825d6c5a745301 (patch)
tree020ea20f9fd25e3e83794f79156421a42b49bf09 /prosodyctl
parent7fb2494cf60c63887facc9b327f5332967be6724 (diff)
downloadprosody-04a42be0ba3de8df3b278dc578825d6c5a745301.tar.gz
prosody-04a42be0ba3de8df3b278dc578825d6c5a745301.zip
prosodyctl: Abort if unable to load util.pposix
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl1
1 files changed, 1 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index 52b734f7..12117c0f 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -166,6 +166,7 @@ else
print("Error: Unable to load pposix module. Check that Prosody is installed correctly.")
print("For more help send the below error to us through http://prosody.im/discuss");
print(tostring(pposix))
+ os.exit(1);
end
local function test_writeable(filename)