Changeset 174


Ignore:
Timestamp:
Oct 10, 2007, 12:31:25 AM (17 years ago)
Author:
ecprice
Message:

Actually suppress the error, without suppressing code errors.

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  
    33import sys
    44import os.path
    5 from subprocess import call
     5from subprocess import call, PIPE
    66
    77def check(b):
     
    1616def ensureoff(machine):
    1717    # 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)
    2219
    2320if subcommand == "lvcreate-all":
Note: See TracChangeset for help on using the changeset viewer.