prosodyctl
branch0.11
changeset 11813 49cfd3628d9d
parent 11590 35e880501efd
child 11816 42e98179c034
--- 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