mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-21 01:30:52 +01:00
clone: Fix || > &&
This commit is contained in:
@@ -140,7 +140,7 @@ validate_netconf_clone() {
|
|||||||
if [ -n "${bastille_network_loopback}" ] && [ -n "${bastille_network_shared}" ]; then
|
if [ -n "${bastille_network_loopback}" ] && [ -n "${bastille_network_shared}" ]; then
|
||||||
error_exit "Invalid network configuration."
|
error_exit "Invalid network configuration."
|
||||||
fi
|
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}"
|
error_exit "[ERROR]: 'bastille_network_vnet_type' not set properly: ${bastille_network_vnet_type}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user