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

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


Author: dietmar
Date: 2011-08-19 10:39:44 +0200 (Fri, 19 Aug 2011)
New Revision: 6506

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 08:36:36 UTC (rev 6505)
+++ redhat-cluster/trunk/debian/patches/fix-rgmanager-init.diff	2011-08-19 08:39:44 UTC (rev 6506)
@@ -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 10:10:34.000000000 +0200
++++ new/rgmanager/init.d/rgmanager.in	2011-08-19 10:26:15.000000000 +0200
 @@ -8,8 +8,8 @@
  # Provides:		rgmanager
  # Required-Start:	cman
@@ -24,6 +24,15 @@
  success()
  {
  	echo -ne "[  OK  ]\r"
+@@ -33,7 +37,7 @@
+ status()
+ {
+ 	pid=$(pidof $1 2>/dev/null)
+-	rtrn=$?
++	local rtrn=$?
+ 	if [ $rtrn -ne 0 ]; then
+ 		echo "$1 is stopped"
+ 	else
 @@ -52,8 +56,7 @@
  
  # deb based distros



More information about the pve-devel mailing list