summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/connections/vlan2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/connections/vlan b/src/lib/connections/vlan
index 86d1a2d..e5edf4a 100644
--- a/src/lib/connections/vlan
+++ b/src/lib/connections/vlan
@@ -3,7 +3,7 @@
. "$CONN_DIR/ethernet"
vlan_up() {
- if [[ ${#BindsToInterfaces} -ne 1 ]]; then
+ if [[ ${#BindsToInterfaces[@]} -ne 1 ]]; then
report_error "No unique physical device for VLAN interface '$Interface' specified"
return 1
fi