aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-09-20 15:51:43 +0200
committerKim Alvefur <zash@zash.se>2021-09-20 15:51:43 +0200
commitda8329037d6ee0cd1514437cd9c5ac1e73188027 (patch)
tree451443aa649e739a5f9aa193f8e956f6fc74b4c9 /prosodyctl
parentb49c57d53ff76e47389f7bb9fa6d5d0853fd2b66 (diff)
parent24111569bb5b75ea37cbf2c29d49d88206365ae2 (diff)
downloadprosody-da8329037d6ee0cd1514437cd9c5ac1e73188027.tar.gz
prosody-da8329037d6ee0cd1514437cd9c5ac1e73188027.zip
Merge 0.11->trunk
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 629be65c..3fef8801 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -230,7 +230,7 @@ local function service_command_warning(service_command)
if prosody.installed and configmanager.get("*", "prosodyctl_service_warnings") ~= false then
show_warning("WARNING: Use of prosodyctl start/stop/restart/reload is not recommended");
show_warning(" if Prosody is managed by an init system - use that directly instead.");
- lfs = lfs or require
+ lfs = lfs or require"lfs";
if lfs.attributes("/etc/systemd") then
show_warning(" e.g. systemctl %s prosody", service_command);
elseif lfs.attributes("/etc/init.d/prosody") then