mirror of
https://github.com/bjc/prosody.git
synced 2025-03-31 11:47:40 +03:00
prosodyctl: Fix check for whether to show init system warning
Overlooked from testing.
This commit is contained in:
parent
e7f77807c9
commit
2fef4f5d9c
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue