summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh b/builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh
index f88c63ff..3c5c6e4d 100644
--- a/builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh
+++ b/builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh
@@ -53,7 +53,7 @@ parse_kernel_command_line() {
# VLAN tag
declare -rg VLAN="$(getarg vlan=)"
- if [ -n $VLAN ]; then
+ if [ -n "$VLAN" ]; then
modprobe 8021q || emergency_shell "VLAN mode detected - failed to load 8021q"
fi