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 995e1d5204..9f313879e6 100755
--- a/scripts/runqemu-gen-tapdevs
+++ b/scripts/runqemu-gen-tapdevs
@@ -57,7 +57,7 @@ if [ ! -x "$RUNQEMU_IFUP" ]; then
57 exit 1 57 exit 1
58fi 58fi
59 59
60IFCONFIG=`which ifconfig` 60IFCONFIG=`which ifconfig 2> /dev/null`
61if [ -z "$IFCONFIG" ]; then 61if [ -z "$IFCONFIG" ]; then
62 # Is it ever anywhere else? 62 # Is it ever anywhere else?
63 IFCONFIG=/sbin/ifconfig 63 IFCONFIG=/sbin/ifconfig