From 09bd587fa92a79cfe318e4c184618fb01d8b4578 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Thu, 17 Jul 2025 20:39:35 -0600 Subject: [PATCH] create: Fix error message for DHCP on non-VNET jails --- usr/local/share/bastille/create.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/share/bastille/create.sh b/usr/local/share/bastille/create.sh index 0e698353..c97a639e 100644 --- a/usr/local/share/bastille/create.sh +++ b/usr/local/share/bastille/create.sh @@ -90,13 +90,13 @@ validate_ip() { else if [ "${_ip}" = "inherit" ] || [ "${_ip}" = "ip_hostname" ]; then if [ -n "${VNET_JAIL}" ]; then - error_exit "[ERROR]: Unsupported IP option for standard jail: (${_ip})." + error_exit "[ERROR]: Unsupported IP option for VNET jail: (${_ip})." else info "\nValid: (${_ip})." fi elif [ "${_ip}" = "DHCP" ] || [ "${_ip}" = "SYNCDHCP" ] || [ "${_ip}" = "0.0.0.0" ]; then if [ -z "${VNET_JAIL}" ]; then - error_exit "[ERROR]: Unsupported IP option for VNET jail: (${_ip})." + error_exit "[ERROR]: Unsupported IP option for non-VNET jail: (${_ip})." else info "\nValid: (${_ip})." fi