Fix to check correctly if ProFTPD is installed #2410

This commit is contained in:
Ilia Ross
2025-02-16 19:19:43 +02:00
parent db7d2f5389
commit 49465bef61

View File

@ -5,7 +5,7 @@
require './proftpd-lib.pl';
# Check if proftpd is installed
if (&has_command($config{'proftpd_path'})) {
if (!&has_command($config{'proftpd_path'})) {
&ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1, 0,
&help_search_link("proftpd", "man", "doc", "google"));
print &text('index_eproftpd', "<tt>$config{'proftpd_path'}</tt>",