Hi, all

I discovered the problem that stop of VirtualDomain did not work definitely.
I attach a patch for revisions.

Best regards,
Yuusuke.

-- 
----------------------------------------
METRO SYSTEMS CO., LTD

YuusukeIida
mail:iiday...@intellilink.co.jp
----------------------------------------
diff -r c1e2072d903c heartbeat/VirtualDomain
--- a/heartbeat/VirtualDomain	Fri Mar 26 11:24:01 2010 +0100
+++ b/heartbeat/VirtualDomain	Mon Mar 29 14:43:00 2010 +0900
@@ -164,7 +164,7 @@
 		# whenever virsh can't reliably obtain the domain
 		# state.
 		status="no state"
-		if [ "__OCF_ACTION" = "stop" ]; then
+		if [ "$__OCF_ACTION" = "stop" ]; then
 		    # During the stop operation, we want to bail out
 		    # quickly, so as to be able to force-stop (destroy)
 		    # the domain if necessary.
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to