aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl5
1 files changed, 4 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 9f51cb68..00e67bd9 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -29,10 +29,13 @@ if CFG_DATADIR then
end
end
+if not require "util.dependencies".check_dependencies() then
+ os.exit(1);
+end
+
-- Required to be able to find packages installed with luarocks
pcall(require, "luarocks.require")
-require "util.dependencies"
config = require "core.configmanager"