Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: net/
Date: Sat, 05 Feb 2011 13:28:12
Message-Id: 43678fd2c44ec35acdcf0316c8ff3b07ee1e5f57.williamH@gentoo
1 commit: 43678fd2c44ec35acdcf0316c8ff3b07ee1e5f57
2 Author: Christian <christian <AT> ch-sc <DOT> de>
3 AuthorDate: Sat Feb 5 13:24:11 2011 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 5 13:24:11 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=43678fd2
7
8 bridge.sh: use correct POSIX test, = not ==
9
10 X-Gentoo-Bug: 353124
11 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=353124
12
13 ---
14 net/bridge.sh | 4 ++--
15 1 files changed, 2 insertions(+), 2 deletions(-)
16
17 diff --git a/net/bridge.sh b/net/bridge.sh
18 index 234a640..91e68d6 100644
19 --- a/net/bridge.sh
20 +++ b/net/bridge.sh
21 @@ -45,8 +45,8 @@ bridge_pre_start()
22 eval bridge_unset=\${bridge_${IFVAR}-y\}
23 eval brctl_unset=\${brctl_${IFVAR}-y\}
24
25 - if [ -z "${brif}" -a "${brctl_unset}" == 'y' ]; then
26 - if [ -z "${ports}" -a "${bridge_unset}" == "y" ]; then
27 + if [ -z "${brif}" -a "${brctl_unset}" = 'y' ]; then
28 + if [ -z "${ports}" -a "${bridge_unset}" = "y" ]; then
29 #eerror "Misconfigured static bridge detected (see net.example)"
30 return 0
31 fi