From: Ben Pfaff Date: Thu, 23 Jun 2011 16:46:50 +0000 (-0700) Subject: ovs-ctl: Fix incorrect error message. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ae9d860584caa98b34bffac536461e3f5099429;p=openvswitch 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 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 }