diff --git a/server/mods-available/monitor_core_module.inc.php b/server/mods-available/monitor_core_module.inc.php index c6518eef60698acd0212e9774ac7dec9b9ac0fc9..53cdc28f8d71ebb15093a7d431ccaa954fede837 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);