prosodyctl: Abort if unable to load util.pposix
authorKim Alvefur <zash@zash.se>
Wed, 19 Sep 2012 23:25:10 +0200
changeset 5150 81b49bb0ecc7
parent 5149 b3e9b3576056
child 5151 dfe6a70efaa2
prosodyctl: Abort if unable to load util.pposix
prosodyctl
--- a/prosodyctl	Wed Sep 19 23:24:40 2012 +0200
+++ b/prosodyctl	Wed Sep 19 23:25:10 2012 +0200
@@ -166,6 +166,7 @@
 	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)