# HG changeset patch # User Kim Alvefur # Date 1631392010 -7200 # Node ID 49cfd3628d9df7f265da25da78e3b10c06a4f66e # Parent a8c9a78c6a4b5390e61adeb0aef45ea8828c156a prosodyctl: Fix later import of LuaFileSystem lfs or WHAT How did this even happen? diff -r a8c9a78c6a4b -r 49cfd3628d9d prosodyctl --- a/prosodyctl Tue Aug 31 12:58:38 2021 +0200 +++ b/prosodyctl Sat Sep 11 22:26:50 2021 +0200 @@ -203,7 +203,7 @@ 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