From d53c6c3eaaf7a7d33083374123abc559c3d664c2 Mon Sep 17 00:00:00 2001 From: Edi Septriyanto Date: Fri, 19 Apr 2024 20:23:25 +0700 Subject: [PATCH] Update fail2ban installation --- scripts/install_fail2ban.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_fail2ban.sh b/scripts/install_fail2ban.sh index afac579..d7ad096 100755 --- a/scripts/install_fail2ban.sh +++ b/scripts/install_fail2ban.sh @@ -75,7 +75,7 @@ function init_fail2ban_install() { if curl -sLI "${fail2ban_download_link}" | grep -q "HTTP/[.12]* [2].."; then run wget "${fail2ban_download_link}" -O fail2ban.tar.gz && \ run tar -zxf fail2ban.tar.gz && \ - run cd fail2ban-*/ + run cd fail2ban-*/ || return # Convert to Python3 codebase run python -m venv /opt/fail2ban/ && \