summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4597705)
svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=160
def ensureoff(machine):
# Make sure the machine is off, but we don't care about errors if it is already off.
def ensureoff(machine):
# Make sure the machine is off, but we don't care about errors if it is already off.
- rv = call(["/usr/sbin/xm", "destroy", prefix + machine])
+ try:
+ rv = call(["/usr/sbin/xm", "destroy", prefix + machine])
+ except:
+ pass
if subcommand == "lvcreate-all":
from sipb_xen_database import *
if subcommand == "lvcreate-all":
from sipb_xen_database import *