From 65ebde4ffc5a47584a738cc653ad5d9dfaeb6fa1 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Sat, 26 Apr 2025 11:36:01 -0600 Subject: [PATCH] clone: Fix || > && --- 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 a4c7caaf..9352e0f1 100644 --- a/usr/local/share/bastille/clone.sh +++ b/usr/local/share/bastille/clone.sh @@ -140,7 +140,7 @@ validate_netconf_clone() { if [ -n "${bastille_network_loopback}" ] && [ -n "${bastille_network_shared}" ]; then error_exit "Invalid network configuration." fi - if [ "${bastille_network_vnet_type}" != "if_bridge" ] || [ "${bastille_network_vnet_type}" != "netgraph" ]; then + if [ "${bastille_network_vnet_type}" != "if_bridge" ] && [ "${bastille_network_vnet_type}" != "netgraph" ]; then error_exit "[ERROR]: 'bastille_network_vnet_type' not set properly: ${bastille_network_vnet_type}" fi }