From 43678fd2c44ec35acdcf0316c8ff3b07ee1e5f57 Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 5 Feb 2011 07:24:11 -0600 Subject: bridge.sh: use correct POSIX test, = not == X-Gentoo-Bug: 353124 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=353124 --- net/bridge.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/bridge.sh b/net/bridge.sh index 234a640f..91e68d67 100644 --- a/net/bridge.sh +++ b/net/bridge.sh @@ -45,8 +45,8 @@ bridge_pre_start() eval bridge_unset=\${bridge_${IFVAR}-y\} eval brctl_unset=\${brctl_${IFVAR}-y\} - if [ -z "${brif}" -a "${brctl_unset}" == 'y' ]; then - if [ -z "${ports}" -a "${bridge_unset}" == "y" ]; then + if [ -z "${brif}" -a "${brctl_unset}" = 'y' ]; then + if [ -z "${ports}" -a "${bridge_unset}" = "y" ]; then #eerror "Misconfigured static bridge detected (see net.example)" return 0 fi -- cgit v1.2.3