[Cluster-devel] cluster/cman/daemon commands.c

pcaulfield at sourceware.org pcaulfield at sourceware.org
Wed Dec 13 13:38:13 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	pcaulfield at sourceware.org	2006-12-13 13:38:12

Modified files:
	cman/daemon    : commands.c 

Log message:
	Fix typo that could affect shutdown.
	see bz#219385

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/commands.c.diff?cvsroot=cluster&r1=1.55&r2=1.56

--- cluster/cman/daemon/commands.c	2006/11/06 10:06:14	1.55
+++ cluster/cman/daemon/commands.c	2006/12/13 13:38:11	1.56
@@ -1428,7 +1428,7 @@
 	   then we take its closedown as a "Yes" to the "can we shutdown"
 	   question. If it previously answered "No", we need to change its vote */
 	if (shutdown_con && con->events) {
-		if (!con->shutdown_reply) {
+		if (con->shutdown_reply) {
 			if (con->shutdown_reply == SHUTDOWN_REPLY_YES)
 				shutdown_yes--;
 			if (con->shutdown_reply == SHUTDOWN_REPLY_NO)




More information about the Cluster-devel mailing list