aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprosodyctl3
1 files changed, 3 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index f3c6d784..f8e12a0d 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -516,6 +516,9 @@ function commands.reload(arg)
return shell.shell(arg);
end
return shell.shell({ "config", "reload" });
+ elseif arg[1] then
+ show_message("Admin socket not found - is it enabled and is Prosody running?");
+ return 1;
end
local ok, running = prosodyctl.isrunning();