aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-09-11 22:26:50 +0200
committerKim Alvefur <zash@zash.se>2021-09-11 22:26:50 +0200
commit8fe336b4a187f4b8059f3c02e8dad63c1238dcd5 (patch)
tree428e2aaba1dc2257790fd34199d7621a4467ffc3
parent6be7cf935f6305c25a9905e1452c59353ceea202 (diff)
downloadprosody-8fe336b4a187f4b8059f3c02e8dad63c1238dcd5.tar.gz
prosody-8fe336b4a187f4b8059f3c02e8dad63c1238dcd5.zip
prosodyctl: Fix later import of LuaFileSystem
lfs or WHAT How did this even happen?
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index f8c0bc68..37753ebb 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -203,7 +203,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