prosodyctl
changeset 11816 42e98179c034
parent 11697 7c03b1f4c388
parent 11813 49cfd3628d9d
child 11888 248477e45c64
--- a/prosodyctl	Sun Sep 19 16:28:16 2021 +0200
+++ b/prosodyctl	Mon Sep 20 15:51:43 2021 +0200
@@ -230,7 +230,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