ia64/xen-unstable

changeset 973:9c7b2b238a29

bitkeeper revision 1.627 (3fbe416fwrLO59ruKs6PLJilJwY1SQ)

xi_destroydom.py:
Fix example domain destroy script.
author kaf24@scramble.cl.cam.ac.uk
date Fri Nov 21 16:46:39 2003 +0000 (2003-11-21)
parents 895f1ca085a7
children 24cebcf87a5e 0cac9d16969a
files tools/examples/xi_destroydom.py
line diff
     1.1 --- a/tools/examples/xi_destroydom.py	Fri Nov 21 16:34:57 2003 +0000
     1.2 +++ b/tools/examples/xi_destroydom.py	Fri Nov 21 16:46:39 2003 +0000
     1.3 @@ -13,6 +13,6 @@ if len(sys.argv) < 2:
     1.4      sys.exit()
     1.5  
     1.6  if (len(sys.argv) > 2) and re.match( 'force', sys.argv[2] ):
     1.7 -    xc.domain_destroy( dom=int(sys.argv[1]), force=0 )
     1.8 +    xc.domain_destroy( dom=int(sys.argv[1]), force=1 )
     1.9  else:
    1.10 -    xc.domain_destroy( dom=int(sys.argv[1]), force=1 )
    1.11 +    xc.domain_destroy( dom=int(sys.argv[1]), force=0 )