aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutilities/ovs-ctl.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in
index 022e90ac0..aec797f41 100755
--- a/utilities/ovs-ctl.in
+++ b/utilities/ovs-ctl.in
@@ -63,10 +63,10 @@ insert_mod_if_required () {
log_warning_msg "not removing bridge module because bridges exist ($bridges)"
return 1
fi
- action "removing bridge module" rmmod bridge || ("X$USE_ODP" == "Xyes" && return 0 || return 1)
+ action "removing bridge module" rmmod bridge || (test "X$USE_ODP" = "Xyes" && return 0 || return 1)
# Try loading openvswitch again.
- action "Inserting openvswitch module" modprobe openvswitch || ("X$USE_ODP" == "Xyes" && return 0)
+ action "Inserting openvswitch module" modprobe openvswitch || (test "X$USE_ODP" = "Xyes" && return 0)
}
ovs_vsctl () {