From fd9583e911ab360c5e4377d6ea30da2a74355ef6 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Fri, 16 May 2025 18:43:29 -0600 Subject: [PATCH] setup: Don't support -y on shared --- usr/local/share/bastille/setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/share/bastille/setup.sh b/usr/local/share/bastille/setup.sh index 90deaaef..01e22404 100644 --- a/usr/local/share/bastille/setup.sh +++ b/usr/local/share/bastille/setup.sh @@ -446,7 +446,7 @@ case "${1}" in ;; shared) if [ "${AUTO_YES}" -eq 1 ]; then - configure_shared_interface + error_exit "[ERROR]: 'shared' does not support [-y|--yes]." else warn "[WARNING]: Bastille only allows using either the 'loopback' or 'shared'" warn "interface to be configured at one time. If you continue, the 'loopback'" @@ -474,7 +474,7 @@ case "${1}" in ;; bridge) if [ "${AUTO_YES}" -eq 1 ]; then - error_exit "[ERROR]: [-b|bridge] does not support [-y|--yes]." + error_exit "[ERROR]: 'bridge' does not support [-y|--yes]." else configure_vnet configure_bridge