Changeset

13653:e0bbf85edc21

prosodyctl: Fix check for whether to show init system warning Overlooked from testing.
author Matthew Wild <mwild1@gmail.com>
date Thu, 06 Feb 2025 15:43:23 +0000
parents 13652:a08065207ef0
children 13654:39c35f7e6cfa
files prosodyctl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/prosodyctl	Thu Feb 06 15:04:38 2025 +0000
+++ b/prosodyctl	Thu Feb 06 15:43:23 2025 +0000
@@ -181,7 +181,7 @@
 end
 
 local function service_command_warning(service_command)
-	if true or prosody.installed and configmanager.get("*", "prosodyctl_service_warnings") ~= false then
+	if prosody.installed and configmanager.get("*", "prosodyctl_service_warnings") ~= false then
 		show_warning("ERROR: Use of 'prosodyctl %s' is disabled in this installation because", service_command);
 
 		local init = has_init_system()