From e578ec1b2206edebdd22e298e6af499c66f2884e Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Thu, 6 Mar 2025 16:24:07 -0700 Subject: [PATCH] network: Fix spacing --- usr/local/share/bastille/network.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/local/share/bastille/network.sh b/usr/local/share/bastille/network.sh index 0ec38356..5b41ece0 100644 --- a/usr/local/share/bastille/network.sh +++ b/usr/local/share/bastille/network.sh @@ -81,11 +81,11 @@ while [ "$#" -gt 0 ]; do shift ;; -v|--vlan) - if echo "${2}" | grep -Eq '^[0-9]+$'; then + if echo "${2}" | grep -Eq '^[0-9]+$'; then VLAN_ID="${2}" - else + else error_exit "Not a valid VLAN ID: ${2}" - fi + fi shift 2 ;; -x|--debug)