From 65bfb95d9f379ef1bc21fb6cb193bccc1c1b125f Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Fri, 6 Mar 2009 01:54:46 +0000 Subject: [PATCH] --- server/mods-available/monitor_core_module.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/mods-available/monitor_core_module.inc.php b/server/mods-available/monitor_core_module.inc.php index c6518eef6..53cdc28f8 100644 --- a/server/mods-available/monitor_core_module.inc.php +++ b/server/mods-available/monitor_core_module.inc.php @@ -763,8 +763,8 @@ class monitor_core_module { $type = 'log_fail2ban'; /* This monitoring is only available if fail2ban is installed */ - $location = system('which fail2ban-client', $retval); // Debian & Ubuntu - if($retval !== 0) $location = system('which fail2ban', $retval); // CentOS & Fedora + $location = system('which fail2ban-client', $retval); // Debian, Ubuntu, Fedora + if($retval !== 0) $location = system('which fail2ban', $retval); // CentOS if($retval === 0){ /* Get the data of the log */ $data = $this->_getLogData($type); -- GitLab