projects
/
invirt/packages/invirt-remote.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4597705
)
actually don't check for errors
author
Tim Abbott
<tabbott@mit.edu>
Wed, 10 Oct 2007 02:04:42 +0000
(22:04 -0400)
committer
Tim Abbott
<tabbott@mit.edu>
Wed, 10 Oct 2007 02:04:42 +0000
(22:04 -0400)
svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=160
files/usr/sbin/sipb-xen-lvm
patch
|
blob
|
history
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.
- 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 *