aboutsummaryrefslogtreecommitdiffstats
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
commiteae1e0b03e4c3b9cabc93537f036121496d1e6a5 (patch)
tree020ea20f9fd25e3e83794f79156421a42b49bf09
parent8d9a04088f11349c430002cf6f56ce2337228b20 (diff)
downloadprosody-eae1e0b03e4c3b9cabc93537f036121496d1e6a5.tar.gz
prosody-eae1e0b03e4c3b9cabc93537f036121496d1e6a5.zip
prosodyctl: Abort if unable to load util.pposix
-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)