From b7651acd8b8ebc77d72aa6bbe25075d1f0243e4a Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Mon, 30 Jun 2025 13:22:14 +0300 Subject: [PATCH] fix: correct jail check condition (#6) --- f2b | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/f2b b/f2b index f086764..17f907f 100755 --- a/f2b +++ b/f2b @@ -205,7 +205,7 @@ f2b_poll_jail_log_entries() { f2b_jail_exists() { local JAIL=${1:-""} - if [ -z "$JAIL" ] && [ "$JAIL" != "" ]; then + if [ -z "$JAIL" ]; then echo "[f2b_jail_exists] Error: Please provide a jail to check if it exists." exit 1 fi