cluster: STABLE3 - cman init: fix another set_networking_params check

Fabio M. Di Nitto fabbione at fedoraproject.org
Mon Oct 19 08:16:14 UTC 2009


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=3fdca6cd60c75ddccde21ae4c3298efd75f09455
Commit:        3fdca6cd60c75ddccde21ae4c3298efd75f09455
Parent:        1ece3abed41a6debf4175201c4061108e9034e68
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Mon Oct 19 10:15:44 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Mon Oct 19 10:15:44 2009 +0200

cman init: fix another set_networking_params check

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
 cman/init.d/cman.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index b5b6192..d03e33d 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -508,7 +508,7 @@ set_networking_params()
 
 	if [ "$(cat $rmemmax)" -lt $NET_RMEM_MAX ]; then
 		echo $NET_RMEM_MAX > /proc/sys/net/core/rmem_max
-		[ "$(cat $rmemmax)" -lt $NET_RMEM_MAX ] && return 1
+		[ "$(cat $rmemmax)" != $NET_RMEM_MAX ] && return 1
 	fi
 
 	return 0


More information about the cluster-commits mailing list