From e4800cf30f0ba19b27f9db41c378d8e597cda865 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Mon, 30 Jun 2025 13:21:06 +0300 Subject: [PATCH] fix: validate correct jail in logs case (#5) --- f2b | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/f2b b/f2b index ccf0d17..f086764 100755 --- a/f2b +++ b/f2b @@ -728,7 +728,7 @@ if [ "$F2B_ARG1" == "logs" ]; then ;; *) # Show logs for a specific jail - f2b_jail_exists "$F2B_ARG3" + f2b_jail_exists "$F2B_ARG2" f2b_jail_get_log_entries "$F2B_ARG2" exit 0 ;;