summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2013-01-10 13:30:02 -0500
committerBill Peck <bpeck@redhat.com>2013-01-10 13:30:02 -0500
commit18c8064a01109ed2b911c6e2986e1ae25732c291 (patch)
treef8d8d90235b9966b13dd8856cd3af3e095f536e9 /kernel
parent62e2597081248de36fed4199868e73058aed0c36 (diff)
downloadtests-18c8064a01109ed2b911c6e2986e1ae25732c291.tar.gz
tests-18c8064a01109ed2b911c6e2986e1ae25732c291.tar.xz
tests-18c8064a01109ed2b911c6e2986e1ae25732c291.zip
Fix test logic.
Diffstat (limited to 'kernel')
-rwxr-xr-xkernel/networking/openvswitch/br_to_vswitch/runtest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/networking/openvswitch/br_to_vswitch/runtest.sh b/kernel/networking/openvswitch/br_to_vswitch/runtest.sh
index 82143e1..0047a1a 100755
--- a/kernel/networking/openvswitch/br_to_vswitch/runtest.sh
+++ b/kernel/networking/openvswitch/br_to_vswitch/runtest.sh
@@ -59,7 +59,7 @@ for intf in $(ls /sys/class/net); do
break
fi
done
-if [ -z "$device" ]; then
+if [ -n "$device" ]; then
cat <<EOF >>/etc/sysconfig/network-scripts/ifcfg-$vswitch
OVSBOOTPROTO="dhcp"
OVSDHCPINTERFACES="$device"