From 2fef4f5d9cc2c59def9321899145cf3417880b15 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 6 Feb 2025 15:43:23 +0000 Subject: prosodyctl: Fix check for whether to show init system warning Overlooked from testing. --- prosodyctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosodyctl b/prosodyctl index f1d46b55..037e88e5 100755 --- a/prosodyctl +++ b/prosodyctl @@ -181,7 +181,7 @@ local function has_init_system() --> which 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() -- cgit v1.2.3