Software /
code /
prosody
Changeset
11809:49cfd3628d9d 0.11
prosodyctl: Fix later import of LuaFileSystem
lfs or WHAT
How did this even happen?
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 11 Sep 2021 22:26:50 +0200 |
parents | 11751:a8c9a78c6a4b |
children | 11810:fe0cdbad19c3 |
files | prosodyctl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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