summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-gen-tapdevs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu-gen-tapdevs')
-rwxr-xr-xscripts/runqemu-gen-tapdevs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs
index 2c1ff0eefb..f5be30ac32 100755
--- a/scripts/runqemu-gen-tapdevs
+++ b/scripts/runqemu-gen-tapdevs
@@ -70,7 +70,7 @@ if [ ! -x "$IFCONFIG" ]; then
70fi 70fi
71 71
72# Ensure we start with a clean slate 72# Ensure we start with a clean slate
73for tap in `$IFCONFIG | grep ^tap | awk '{ print \$1 }'`; do 73for tap in `$IFCONFIG | grep ^tap | awk '{ print \$1 }' | sed s/://`; do
74 echo "Note: Destroying pre-existing tap interface $tap..." 74 echo "Note: Destroying pre-existing tap interface $tap..."
75 $TUNCTL -d $tap 75 $TUNCTL -d $tap
76done 76done