Skip to content

Commit 65bfb95

Browse files
committed
1 parent fb3749f commit 65bfb95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/mods-available/monitor_core_module.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,8 +763,8 @@ function monitorFail2ban(){
763763
$type = 'log_fail2ban';
764764

765765
/* This monitoring is only available if fail2ban is installed */
766-
$location = system('which fail2ban-client', $retval); // Debian & Ubuntu
767-
if($retval !== 0) $location = system('which fail2ban', $retval); // CentOS & Fedora
766+
$location = system('which fail2ban-client', $retval); // Debian, Ubuntu, Fedora
767+
if($retval !== 0) $location = system('which fail2ban', $retval); // CentOS
768768
if($retval === 0){
769769
/* Get the data of the log */
770770
$data = $this->_getLogData($type);

0 commit comments

Comments
 (0)