[oe-commits] Andreas Oberritter : conntrack-tools: fix sh equality operator

git version control git at git.openembedded.org
Sun Nov 14 23:43:35 UTC 2010


Module: openembedded.git
Branch: master
Commit: 09c21693bf33fe212046f2e1cbbe6a879d49b875
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=09c21693bf33fe212046f2e1cbbe6a879d49b875

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Tue Oct 26 15:42:49 2010 +0000

conntrack-tools: fix sh equality operator

Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Signed-off-by: Michael Smith <msmith at cbnco.com>

---

 recipes/conntrack-tools/conntrack-tools_0.9.14.bb |    2 +-
 recipes/conntrack-tools/files/init                |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes/conntrack-tools/conntrack-tools_0.9.14.bb b/recipes/conntrack-tools/conntrack-tools_0.9.14.bb
index d5f1e4a..5b1712c 100644
--- a/recipes/conntrack-tools/conntrack-tools_0.9.14.bb
+++ b/recipes/conntrack-tools/conntrack-tools_0.9.14.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Connection tracking userspace tools for Linux"
 LICENSE = "GPL"
 DEPENDS = "libnfnetlink libnetfilter-conntrack"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = " \
 	http://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-${PV}.tar.bz2;name=tar \
diff --git a/recipes/conntrack-tools/files/init b/recipes/conntrack-tools/files/init
index cb7a7fb..6cda750 100644
--- a/recipes/conntrack-tools/files/init
+++ b/recipes/conntrack-tools/files/init
@@ -38,7 +38,7 @@ case "$1" in
 	done
 	start-stop-daemon --start --quiet --make-pidfile --pidfile "/var/run/${NAME}.pid" --background --exec "${DAEMON}"
 	RET=$?
-	if [ "$?" == "0" ]; then
+	if [ "$?" = "0" ]; then
 		sleep 2
 		# Sync with other server
 		conntrackd -n
@@ -56,7 +56,7 @@ case "$1" in
 	echo -n "conntrackd "
 	start-stop-daemon -q -K -t -x $DAEMON
 	RET=$?
-	if [ "$RET" == "0" ]; then
+	if [ "$RET" = "0" ]; then
                 PID=`cat $PIDFILE`
 		echo "($PID) is running"
 	else





More information about the Openembedded-commits mailing list