fix: correct jail check condition (#6)

This commit is contained in:
2025-06-30 13:22:14 +03:00
committed by GitHub
parent e4800cf30f
commit b7651acd8b

2
f2b
View File

@@ -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