From ae6b006a4dc5ff804d20ebf449b11fa1d8c73096 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 17 Oct 2024 12:41:37 +0300 Subject: [PATCH] ... Signed-off-by: Alex A. Naanou --- host/make.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/host/make.sh b/host/make.sh index 46663d9..67e1465 100755 --- a/host/make.sh +++ b/host/make.sh @@ -81,11 +81,12 @@ if xreadYes "# Create bridges?" BRIDGES ; then conflict="${conflict}, vmbr${!br} (${br})" fi done - echo "ERROR: will not overwrite existing bridges: ${conflict:2}" >&2 if grep -q "vmbr${!ADMIN_BRIDGE}" "$INTERFACES" ; then echo "NOTE: reusing vmbr${ADMIN_BRIDGE} for ADMIN." + else + echo "ERROR: will not overwrite existing bridges: ${conflict:2}" >&2 + exit 1 fi - exit 1 fi @ cp "$INTERFACES"{,.bak}