ia64/xen-unstable

changeset 8262:bc398d47d08f

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@xensource.com>
author emellor@leeni.uk.xensource.com
date Wed Dec 07 11:43:43 2005 +0000 (2005-12-07)
parents 9089801e73ce
children 25dd49641a74
files tools/examples/block
line diff
     1.1 --- a/tools/examples/block	Wed Dec 07 10:27:03 2005 +0000
     1.2 +++ b/tools/examples/block	Wed Dec 07 11:43:43 2005 +0000
     1.3 @@ -133,7 +133,7 @@ same_vm()
     1.4    local thisvm=$(xenstore-read "/local/domain/$thisdom/vm")
     1.5    local othervm=$(xenstore-read "/local/domain/$otherdom/vm")
     1.6  
     1.7 -  return [ "$thisvm" == "$othervm" ]
     1.8 +  [ "$thisvm" == "$othervm" ]
     1.9  }
    1.10  
    1.11