From 65bfb95d9f379ef1bc21fb6cb193bccc1c1b125f Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Thu, 05 Mar 2009 20:54:46 -0500
Subject: [PATCH]
---
server/mods-available/monitor_core_module.inc.php | 4 ++--
1 files 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 c6518ee..53cdc28 100644
--- a/server/mods-available/monitor_core_module.inc.php
+++ b/server/mods-available/monitor_core_module.inc.php
@@ -763,8 +763,8 @@
$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);
--
Gitblit v1.9.1