projects
/
invirt/packages/invirt-remote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
actually don't check for errors
[invirt/packages/invirt-remote.git]
/
files
/
usr
/
sbin
/
sipb-xen-lvm
diff --git
a/files/usr/sbin/sipb-xen-lvm
b/files/usr/sbin/sipb-xen-lvm
index
2a3fade
..
f69c2a6
100755
(executable)
--- a/
files/usr/sbin/sipb-xen-lvm
+++ b/
files/usr/sbin/sipb-xen-lvm
@@
-15,7
+15,10
@@
subcommand = sys.argv[1]
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 *