[pve-devel] r6504 - redhat-cluster/trunk/debian/patches

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Aug 19 10:11:10 CEST 2011


Author: dietmar
Date: 2011-08-19 10:11:10 +0200 (Fri, 19 Aug 2011)
New Revision: 6504

Modified:
   redhat-cluster/trunk/debian/patches/fix-rgmanager-init.diff
Log:


Modified: redhat-cluster/trunk/debian/patches/fix-rgmanager-init.diff
===================================================================
--- redhat-cluster/trunk/debian/patches/fix-rgmanager-init.diff	2011-08-19 07:59:19 UTC (rev 6503)
+++ redhat-cluster/trunk/debian/patches/fix-rgmanager-init.diff	2011-08-19 08:11:10 UTC (rev 6504)
@@ -1,7 +1,7 @@
 Index: new/rgmanager/init.d/rgmanager.in
 ===================================================================
 --- new.orig/rgmanager/init.d/rgmanager.in	2011-07-19 12:52:29.000000000 +0200
-+++ new/rgmanager/init.d/rgmanager.in	2011-08-19 09:58:14.000000000 +0200
++++ new/rgmanager/init.d/rgmanager.in	2011-08-19 10:10:34.000000000 +0200
 @@ -8,8 +8,8 @@
  # Provides:		rgmanager
  # Required-Start:	cman
@@ -69,3 +69,20 @@
  			touch $LOCK_FILE
  			success
  		else
+@@ -126,11 +141,12 @@
+ 	echo -n "Stopping $ID: "
+ 
+ 	if status $RGMGRD > /dev/null 2>&1; then
+-		if stop_cluster; then
+-			success
+-		else
+-			failure
++	        stop_cluster
++		if status $RGMGRD > /dev/null 2>&1; then
++		        failure
+ 			rtrn=1
++	        else
++		        success
+ 		fi
+ 	else
+ 		success



More information about the pve-devel mailing list