From: Ben Pfaff Date: Thu, 23 Jun 2011 16:46:50 +0000 (-0700) Subject: ovs-ctl: Fix incorrect error message. X-Git-Tag: v1.2.0~131 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2ae9d860584caa98b34bffac536461e3f5099429;p=sliver-openvswitch.git ovs-ctl: Fix incorrect error message. The sense of the test was wrong. Bug #6071. --- diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in index 4d1ce1881..d316adf02 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 }