From ac7ffe4b0ad6fc9e2200b54b489fa8c64b3d76c9 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Sat, 26 Apr 2025 11:02:39 -0600 Subject: [PATCH] Update common.sh --- usr/local/share/bastille/common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/local/share/bastille/common.sh b/usr/local/share/bastille/common.sh index 95ccec12..df516b09 100644 --- a/usr/local/share/bastille/common.sh +++ b/usr/local/share/bastille/common.sh @@ -135,6 +135,8 @@ get_bastille_if_count() { _bastille_if_count=$(printf '%s' "${_bastille_if_list}" | sort -u | wc -l | awk '{print $1}') export _bastille_if_list export _bastille_if_count + else + error_exit "[ERROR]: 'bastille_network_vnet_type' not set properly: ${bastille_network_vnet_type}" fi }