[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Further fix to same_vm check. This fixes intermittent failure of live



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID bc398d47d08f9ec802ad7977ff6fe12295812d0a
# Parent  9089801e73ce3d6a84af37efe1c575b9c5e551cd
Further fix to same_vm check.  This fixes intermittent failure of live
localhost migration.

return [ test ] is not valid, simply [ test ] at the end of the function is the
correct syntax.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 9089801e73ce -r bc398d47d08f tools/examples/block
--- a/tools/examples/block      Wed Dec  7 10:27:03 2005
+++ b/tools/examples/block      Wed Dec  7 11:43:43 2005
@@ -133,7 +133,7 @@
   local thisvm=$(xenstore-read "/local/domain/$thisdom/vm")
   local othervm=$(xenstore-read "/local/domain/$otherdom/vm")
 
-  return [ "$thisvm" == "$othervm" ]
+  [ "$thisvm" == "$othervm" ]
 }
 
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.