prosodyctl: Abort if unable to load util.pposix
[prosody.git] / 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)