From b84737569fde56f447620840ef246e6b2338b034 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Wed, 25 Dec 2024 19:06:04 +0100 Subject: [PATCH] Update install.sh --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 70643b5..99526fe 100644 --- a/install.sh +++ b/install.sh @@ -109,13 +109,13 @@ case $answer in esac # Clone repository -cd ~ || exit +cd ~ || return if [ ! -d "UFW-AbuseIPDB-Reporter" ]; then echo "📂 Cloning the UFW-AbuseIPDB-Reporter repository..." git clone https://github.com/sefinek/UFW-AbuseIPDB-Reporter.git --branch node.js else echo "📂 The UFW-AbuseIPDB-Reporter repository already exists. Pulling latest changes..." - cd ~/UFW-AbuseIPDB-Reporter || exit + cd UFW-AbuseIPDB-Reporter || return git pull fi