Skip to contentSkip to conversation

runqemu-gen-tapdevs: fix missing variable quote

PATCH New Trevor Gamblin 1 participant 1 message Jun 19, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 runqemu-gen-tapdevs: fix missing variable quote

Commit d43c41fcaf061eaf8bff7bc03de19cdc80226796 refactors the script but there's a missing '"' in one line, leading to the following message:

poky/scripts/runqemu-gen-tapdevs: command substitution: line 62: unexpected EOF while looking for matching `"'

---
 scripts/runqemu-gen-tapdevs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/runqemu-gen-tapdevs +1 -1
index 4f8ea979d2..ec3ecb03b9 100755
@@ -59,7 +59,7 @@ if [ ! -x "$RUNQEMU_IFUP" ]; then
 fi
 
 if interfaces=`ip tuntap list` 2>/dev/null; then
-	interfaces=`echo "$interfaces |cut -f1 -d:`
+	interfaces=`echo "$interfaces" |cut -f1 -d:`
 else
 	echo "Failed to call 'ip tuntap list'" >&2
 	exit 1
Signature · 1 line
2.40.1