aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-06-23 09:46:50 -0700
committerBen Pfaff <blp@nicira.com>2011-06-23 11:15:37 -0700
commit2ae9d860584caa98b34bffac536461e3f5099429 (patch)
treea05bd8a243f38adad0c842f794ff7e75398d6746
parent86014a2861398ae3a1857ed24fba3a080853d74c (diff)
ovs-ctl: Fix incorrect error message.
The sense of the test was wrong. Bug #6071.
-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 4d1ce188..d316adf0 100755
--- a/utilities/ovs-ctl.in
+++ b/utilities/ovs-ctl.in
@@ -302,9 +302,9 @@ enable_protocol () {
;;
esac
elif (iptables --version) >/dev/null 2>&1; then
- action "iptables binary not installed, not adding a rule for $name"
- else
action "cannot list iptables rules, not adding a rule for $name"
+ else
+ action "iptables binary not installed, not adding a rule for $name"
fi
}