From d0f7e2dc8e04c231800699d6647d6c6da06e0fdd Mon Sep 17 00:00:00 2001 From: tschettervictor Date: Sat, 4 Oct 2025 14:23:13 -0600 Subject: [PATCH] fix shellcheck --- usr/local/share/bastille/clone.sh | 1 + usr/local/share/bastille/rename.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/usr/local/share/bastille/clone.sh b/usr/local/share/bastille/clone.sh index 4f940eeb..206a82d3 100644 --- a/usr/local/share/bastille/clone.sh +++ b/usr/local/share/bastille/clone.sh @@ -386,6 +386,7 @@ update_jailconf_vnet() { local old_ngif="${if}" # Generate new netgraph interface name local new_ngif="ng${ngif_num}_${NEWNAME}" + # shellcheck disable=SC2046 local new_if_prefix="$(echo ${if} | awk -F'_' '{print $1}')" local new_if_suffix="$(echo ${if} | awk -F'_' '{print $2}')" diff --git a/usr/local/share/bastille/rename.sh b/usr/local/share/bastille/rename.sh index 05527aa8..4de9bba3 100644 --- a/usr/local/share/bastille/rename.sh +++ b/usr/local/share/bastille/rename.sh @@ -211,6 +211,7 @@ update_jailconf_vnet() { local old_ngif="${if}" # Generate new netgraph interface name local new_ngif="ng${ngif_num}_${NEWNAME}" + # shellcheck disable=SC2034 local new_if_prefix="$(echo ${new_ngif} | awk -F'_' '{print $1}')" local new_if_suffix="$(echo ${new_ngif} | awk -F'_' '{print $2}')"