[Ocfs2-tools-commits] manish commits r862 - trunk/vendor/common

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Apr 28 20:15:01 CDT 2005


Author: manish
Date: 2005-04-28 20:14:59 -0500 (Thu, 28 Apr 2005)
New Revision: 862

Modified:
   trunk/vendor/common/o2cb.init
Log:
offline should be a noop if cluster isn't online to begin with


Modified: trunk/vendor/common/o2cb.init
===================================================================
--- trunk/vendor/common/o2cb.init	2005-04-28 21:52:39 UTC (rev 861)
+++ trunk/vendor/common/o2cb.init	2005-04-29 01:14:59 UTC (rev 862)
@@ -536,6 +536,11 @@
         return
     fi
 
+    if [ ! -e "/config/cluster/${CLUSTER}" ]
+    then
+        return
+    fi
+
     clean_heartbeat $CLUSTER
 
     echo -n "Stopping cluster ${CLUSTER}: "



More information about the Ocfs2-tools-commits mailing list