create: Fix shellcheck

This commit is contained in:
tschettervictor
2025-03-03 12:38:13 -07:00
committed by GitHub
parent 90ceb69eb0
commit dc9e225d8e

View File

@@ -704,7 +704,7 @@ while [ $# -gt 0 ]; do
;;
-v|--vlan)
if echo "${2}" | grep -Eq '^[0-9]+$'; then
VLAN_ID="${2}
VLAN_ID="${2}"
else
error_exit "Not a valid VLAN ID: ${2}"
fi