diff options
Diffstat (limited to 'scripts/runqemu-gen-tapdevs')
-rwxr-xr-x | scripts/runqemu-gen-tapdevs | 2 |
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 |
58 | fi | 58 | fi |
59 | 59 | ||
60 | IFCONFIG=`which ifconfig` | 60 | IFCONFIG=`which ifconfig 2> /dev/null` |
61 | if [ -z "$IFCONFIG" ]; then | 61 | if [ -z "$IFCONFIG" ]; then |
62 | # Is it ever anywhere else? | 62 | # Is it ever anywhere else? |
63 | IFCONFIG=/sbin/ifconfig | 63 | IFCONFIG=/sbin/ifconfig |