From f258e030bd9dc1b1c44770f9e0cf39ea1a2eae49 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Thu, 23 Nov 2023 10:56:35 +0100 Subject: [PATCH] confd: Fix shellcheck warnings in gen-interfaces --- src/confd/bin/gen-interfaces | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/confd/bin/gen-interfaces b/src/confd/bin/gen-interfaces index 778e0b22..63954c6d 100755 --- a/src/confd/bin/gen-interfaces +++ b/src/confd/bin/gen-interfaces @@ -125,7 +125,7 @@ ifaces="" for phy in $phys_ifaces; do found="" for port in $ports; do - if [ $port = $phy ]; then + if [ "$port" = "$phy" ]; then found=true break fi @@ -168,8 +168,8 @@ fi cat <