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
commit0eddd6a92fa874fb2c705c8b8a9e4a0d48840c82 (patch)
treeeb4210a97f6e8b70b2a3f925a2a434538e585ddd
parent41cdbb11597441a6544ff9003a1f1eee98fe6f15 (diff)
downloadprosody-0eddd6a92fa874fb2c705c8b8a9e4a0d48840c82.tar.gz
prosody-0eddd6a92fa874fb2c705c8b8a9e4a0d48840c82.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 42c0a451..f44dc4f8 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)