aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2025-02-06 15:43:23 +0000
committerMatthew Wild <mwild1@gmail.com>2025-02-06 15:43:23 +0000
commit2fef4f5d9cc2c59def9321899145cf3417880b15 (patch)
tree962760aea7faf5a54dd62878dd94f77a154b468a
parente7f77807c971fab9e0cacf149dcbcefd6a4a47f4 (diff)
downloadprosody-2fef4f5d9cc2c59def9321899145cf3417880b15.tar.gz
prosody-2fef4f5d9cc2c59def9321899145cf3417880b15.zip
prosodyctl: Fix check for whether to show init system warning
Overlooked from testing.
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
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()