- Timestamp:
- Oct 10, 2007, 12:31:25 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/usr/sbin/sipb-xen-lvm
r160 r174 3 3 import sys 4 4 import os.path 5 from subprocess import call 5 from subprocess import call, PIPE 6 6 7 7 def check(b): … … 16 16 def ensureoff(machine): 17 17 # Make sure the machine is off, but we don't care about errors if it is already off. 18 try: 19 rv = call(["/usr/sbin/xm", "destroy", prefix + machine]) 20 except: 21 pass 18 rv = call(["/usr/sbin/xm", "destroy", prefix + machine], stderr=PIPE) 22 19 23 20 if subcommand == "lvcreate-all":
Note: See TracChangeset
for help on using the changeset viewer.