diff mbox series

runqemu-gen-tapdevs: fix missing variable quote

Message ID 20230619132225.1618014-1-tgamblin@baylibre.com
State Accepted, archived
Commit 94b9b1333a5f779316b9698bb3e4fa7246bae78e
Headers show
Series runqemu-gen-tapdevs: fix missing variable quote | expand

Commit Message

Trevor Gamblin June 19, 2023, 1:22 p.m. UTC
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 `"'

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
 scripts/runqemu-gen-tapdevs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs
index 4f8ea979d2..ec3ecb03b9 100755
--- a/scripts/runqemu-gen-tapdevs
+++ b/scripts/runqemu-gen-tapdevs
@@ -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