From b8c796827c2c598b8db650d56edcaade6ed4faf7 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Wed, 19 Nov 2025 14:27:58 -0500 Subject: [PATCH] clone: fix missing var CLONE_INTERFACE_COUNT --- usr/local/share/bastille/clone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/clone.sh b/usr/local/share/bastille/clone.sh index 7e31af52..10f57fdd 100644 --- a/usr/local/share/bastille/clone.sh +++ b/usr/local/share/bastille/clone.sh @@ -98,6 +98,7 @@ fi TARGET="${1}" NEWNAME="${2}" IP="${3}" +CLONE_INTERFACE_COUNT=0 bastille_root_check set_target_single "${TARGET}" @@ -231,7 +232,6 @@ update_jailconf() { update_jailconf_vnet() { - CLONE_INTERFACE_COUNT=0 local jail_config="${bastille_jailsdir}/${NEWNAME}/jail.conf" local jail_rc_config="${bastille_jailsdir}/${NEWNAME}/root/etc/rc.conf"