mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
bitkeeper revision 1.627 (3fbe416fwrLO59ruKs6PLJilJwY1SQ)
xi_destroydom.py: Fix example domain destroy script.
This commit is contained in:
1 parent
605b7a945d
commit
90dfd6596a
1 file changed
+2
-2
@@ -13,6 +13,6 @@ if len(sys.argv) < 2:
|
||||
sys.exit()
|
||||
|
||||
if (len(sys.argv) > 2) and re.match( 'force', sys.argv[2] ):
|
||||
xc.domain_destroy( dom=int(sys.argv[1]), force=0 )
|
||||
else:
|
||||
xc.domain_destroy( dom=int(sys.argv[1]), force=1 )
|
||||
else:
|
||||
xc.domain_destroy( dom=int(sys.argv[1]), force=0 )
|
||||