Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-10-17 12:49:48 +03:00
parent ae6b006a4d
commit b49633dde1

View File

@ -81,7 +81,7 @@ if xreadYes "# Create bridges?" BRIDGES ; then
conflict="${conflict}, vmbr${!br} (${br})"
fi
done
if grep -q "vmbr${!ADMIN_BRIDGE}" "$INTERFACES" ; then
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