Skip to contentSkip to conversation

cluster/cman/daemon commands.c

Cluster-devel [email protected] 1 participant 1 message Dec 13, 2006

lore
Share & tools
lore
#0 lore raw

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

cman/daemon/commands.c +1 -1
@@ -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)