diff options
author | Kim Alvefur <zash@zash.se> | 2021-09-11 22:26:50 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-09-11 22:26:50 +0200 |
commit | 8fe336b4a187f4b8059f3c02e8dad63c1238dcd5 (patch) | |
tree | 428e2aaba1dc2257790fd34199d7621a4467ffc3 /prosodyctl | |
parent | 6be7cf935f6305c25a9905e1452c59353ceea202 (diff) | |
download | prosody-8fe336b4a187f4b8059f3c02e8dad63c1238dcd5.tar.gz prosody-8fe336b4a187f4b8059f3c02e8dad63c1238dcd5.zip |
prosodyctl: Fix later import of LuaFileSystem
lfs or WHAT
How did this even happen?
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |