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
commit799a42cb68a69e9576e0fe996200965ff75e14d6 (patch)
treeeb4210a97f6e8b70b2a3f925a2a434538e585ddd /prosodyctl
parent4020eeba35d03e2da0a4e04140e15c9f9b05740e (diff)
downloadprosody-799a42cb68a69e9576e0fe996200965ff75e14d6.tar.gz
prosody-799a42cb68a69e9576e0fe996200965ff75e14d6.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 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)