prosodyctl: Abort if unable to load util.pposix
authorKim Alvefur <zash@zash.se>
Wed, 19 Sep 2012 21:25:10 +0000 (23:25 +0200)
committerKim Alvefur <zash@zash.se>
Wed, 19 Sep 2012 21:25:10 +0000 (23:25 +0200)
prosodyctl

index 52b734f729b86b6839c771127d40a48c59fea02d..12117c0f25b266ce2c764ef2baf510fae059db1b 100755 (executable)
@@ -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)