From 8fe336b4a187f4b8059f3c02e8dad63c1238dcd5 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 11 Sep 2021 22:26:50 +0200 Subject: prosodyctl: Fix later import of LuaFileSystem lfs or WHAT How did this even happen? --- prosodyctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3